CI: node.js 20
This commit is contained in:
parent
b2a04c2393
commit
049d3bce54
4
.github/workflows/nodejs.yml
vendored
4
.github/workflows/nodejs.yml
vendored
@ -3,14 +3,14 @@ name: Node CI
|
||||
on: [push, pull_request]
|
||||
jobs:
|
||||
test:
|
||||
name: v18 @ ubuntu-latest
|
||||
name: v20 @ ubuntu-latest
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Use Node.js ${{ matrix.node }}
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 18
|
||||
node-version: 20
|
||||
- run: npm install
|
||||
- run: npm run build --if-present
|
||||
- run: npm run lint --if-present
|
||||
|
Loading…
Reference in New Issue
Block a user