mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-22 01:36:29 -05:00
CI: Use short Node versions
https://github.com/actions/setup-node#supported-version-syntax documents only the short versions, without `.x`, so we shall use them. Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
parent
b9a0cb6150
commit
0e9fc1f05d
1 changed files with 3 additions and 3 deletions
6
.github/workflows/node.js.yml
vendored
6
.github/workflows/node.js.yml
vendored
|
@ -30,7 +30,7 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
node-version: [12.x, 14.x, 16.x]
|
||||
node-version: [12, 14, 16]
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Use Node.js ${{ matrix.node-version }}
|
||||
|
@ -45,7 +45,7 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
node-version: [12.x, 14.x, 16.x]
|
||||
node-version: [12, 14, 16]
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Use Node.js ${{ matrix.node-version }}
|
||||
|
@ -56,7 +56,7 @@ jobs:
|
|||
- run: yarn --frozen-lockfile --prefer-offline
|
||||
- run: yarn run build
|
||||
- uses: actions/upload-artifact@v2
|
||||
if: github.ref == 'refs/heads/master' && matrix.node-version == '16.x'
|
||||
if: github.ref == 'refs/heads/master' && matrix.node-version == '16'
|
||||
with:
|
||||
name: Prebuild with Node.js ${{ matrix.node-version }}
|
||||
path: |
|
||||
|
|
Loading…
Reference in a new issue