Use Node 18 for PR test (#316)

Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/blog/pulls/316
Reviewed-by: 6543 <6543@obermui.de>
Co-authored-by: Denys Konovalov <denyskon@noreply.gitea.com>
Co-committed-by: Denys Konovalov <denyskon@noreply.gitea.com>
This commit is contained in:
Denys Konovalov 2023-11-14 14:46:36 +00:00 committed by 6543
parent 03bdc587f0
commit 92a19d4c36
1 changed files with 17 additions and 17 deletions

View File

@ -1,17 +1,17 @@
name: check-and-test
on:
- pull_request
jobs:
check-and-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: https://github.com/actions/setup-node@v3
with:
node-version: 16
- name: Build
run: |
npm ci
npm run build
name: check-and-test
on:
- pull_request
jobs:
check-and-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: 18
- name: Build
run: |
npm ci
npm run build