Skip to content

Commit

Permalink
Update nodejs.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
memob0x authored Sep 1, 2023
1 parent 16cd22b commit 1516aaa
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,16 @@ on: [push]
jobs:
build:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [20.x]

node: [ 18, 20 ]
name: Node ${{ matrix.node }} sample
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
node-version: ${{ matrix.node }}
- run: npm install
- run: npm run build --if-present
- run: npm test
Expand Down

0 comments on commit 1516aaa

Please sign in to comment.