mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-24 18:56:32 -05:00
chore(ci): add Node 22
Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
parent
4a0025d5bf
commit
3dfe9722c9
2 changed files with 3 additions and 3 deletions
4
.github/workflows/build-and-test.yml
vendored
4
.github/workflows/build-and-test.yml
vendored
|
@ -15,7 +15,7 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
node: ['18', '20']
|
node: ['18', '20', '22']
|
||||||
name: Node ${{ matrix.node }}
|
name: Node ${{ matrix.node }}
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
|
@ -34,7 +34,7 @@ jobs:
|
||||||
|
|
||||||
- name: Upload build artifacts
|
- name: Upload build artifacts
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
if: github.ref == 'refs/heads/master' && matrix.node-version == '16'
|
if: github.ref == 'refs/heads/master' && matrix.node-version == '22'
|
||||||
with:
|
with:
|
||||||
name: Prebuild with Node.js ${{ matrix.node-version }}
|
name: Prebuild with Node.js ${{ matrix.node-version }}
|
||||||
path: |
|
path: |
|
||||||
|
|
2
.github/workflows/lint.yml
vendored
2
.github/workflows/lint.yml
vendored
|
@ -17,7 +17,7 @@ jobs:
|
||||||
- name: Setup node
|
- name: Setup node
|
||||||
uses: ./.github/actions/setup-node
|
uses: ./.github/actions/setup-node
|
||||||
with:
|
with:
|
||||||
NODEJS_VERSION: '20'
|
NODEJS_VERSION: '22'
|
||||||
|
|
||||||
- name: Run ESLint
|
- name: Run ESLint
|
||||||
run: yarn run eslint
|
run: yarn run eslint
|
||||||
|
|
Loading…
Reference in a new issue