mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-21 17:26:29 -05:00
Added zipping and uploading of production builds
This extends the 'production build' workflow with uploading the final bundle as an artifact. The bundle is only uploaded on pushes to `master` and with Node.js 14. Co-authored-by: David Mehren <git@herrmehren.de> Signed-off-by: Erik Michelson <github@erik.michelson.eu> Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
parent
929d4af2b5
commit
daf14a51e1
1 changed files with 8 additions and 2 deletions
10
.github/workflows/node.js.yml
vendored
10
.github/workflows/node.js.yml
vendored
|
@ -78,5 +78,11 @@ jobs:
|
|||
${{ runner.os }}-yarn-
|
||||
- run: yarn --frozen-lockfile --prefer-offline
|
||||
- run: yarn run build
|
||||
|
||||
|
||||
- uses: actions/upload-artifact@v2
|
||||
if: github.ref == 'refs/heads/master' && matrix.node-version == '14.x'
|
||||
with:
|
||||
name: Prebuild with Node.js ${{ matrix.node-version }}
|
||||
path: |
|
||||
**
|
||||
!.git
|
||||
!node_modules
|
||||
|
|
Loading…
Reference in a new issue