mirror of
https://gitea.com/gitea/blog.git
synced 2024-06-02 07:41:24 +05:30
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:
parent
03bdc587f0
commit
92a19d4c36
|
@ -1,17 +1,17 @@
|
||||||
name: check-and-test
|
name: check-and-test
|
||||||
|
|
||||||
on:
|
on:
|
||||||
- pull_request
|
- pull_request
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
check-and-test:
|
check-and-test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: https://github.com/actions/setup-node@v3
|
- uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: 16
|
node-version: 18
|
||||||
- name: Build
|
- name: Build
|
||||||
run: |
|
run: |
|
||||||
npm ci
|
npm ci
|
||||||
npm run build
|
npm run build
|
||||||
|
|
Loading…
Reference in a new issue