mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-15 07:34:42 -04:00
CI: Test and build with Node 17
Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
parent
9ddd664691
commit
be3a4e2c88
1 changed files with 7 additions and 7 deletions
14
.github/workflows/nest.js.yml
vendored
14
.github/workflows/nest.js.yml
vendored
|
@ -21,10 +21,10 @@ jobs:
|
||||||
- yarn run format
|
- yarn run format
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Use Node.js 16
|
- name: Use Node.js 17
|
||||||
uses: actions/setup-node@v2
|
uses: actions/setup-node@v2
|
||||||
with:
|
with:
|
||||||
node-version: 16
|
node-version: 17
|
||||||
cache: 'yarn'
|
cache: 'yarn'
|
||||||
- run: yarn install --immutable
|
- run: yarn install --immutable
|
||||||
- run: ${{matrix.command}}
|
- run: ${{matrix.command}}
|
||||||
|
@ -32,7 +32,7 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
node-version: [12.x, 14.x, 16.x ]
|
node-version: [12.x, 14.x, 16.x, 17.x ]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Use Node.js ${{ matrix.node-version }}
|
- name: Use Node.js ${{ matrix.node-version }}
|
||||||
|
@ -49,10 +49,10 @@ jobs:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
- name: Use Node.js 16
|
- name: Use Node.js 17
|
||||||
uses: actions/setup-node@v2
|
uses: actions/setup-node@v2
|
||||||
with:
|
with:
|
||||||
node-version: 16
|
node-version: 17
|
||||||
cache: 'yarn'
|
cache: 'yarn'
|
||||||
- run: yarn install --immutable
|
- run: yarn install --immutable
|
||||||
- run: yarn run test:cov
|
- run: yarn run test:cov
|
||||||
|
@ -67,10 +67,10 @@ jobs:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
- name: Use Node.js 16
|
- name: Use Node.js 17
|
||||||
uses: actions/setup-node@v2
|
uses: actions/setup-node@v2
|
||||||
with:
|
with:
|
||||||
node-version: 16
|
node-version: 17
|
||||||
cache: 'yarn'
|
cache: 'yarn'
|
||||||
- run: yarn install --immutable
|
- run: yarn install --immutable
|
||||||
- run: yarn run test:e2e:cov
|
- run: yarn run test:e2e:cov
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue