Skip to content

Commit

Permalink
update ci
Browse files Browse the repository at this point in the history
  • Loading branch information
GrantBirki committed Nov 14, 2023
1 parent c11946b commit c84cbe9
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions .github/workflows/npm-test.js.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,23 @@
name: Node.js CI
"on":
on:
- push
- pull_request

permissions:
contents: read

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}

- name: setup node
uses: actions/setup-node@v4
with:
node-version: 16
- run: npm install
node-version-file: .node-version
cache: npm

- run: npm ci

- run: npm test

0 comments on commit c84cbe9

Please sign in to comment.