Skip to content

Commit

Permalink
Update actions
Browse files Browse the repository at this point in the history
  • Loading branch information
bcomnes committed Sep 28, 2023
1 parent 8ea0a43 commit f3a704e
Showing 1 changed file with 14 additions and 10 deletions.
24 changes: 14 additions & 10 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,25 @@
name: Node CI
name: tests

on: [pull_request, push]

on: [push]

jobs:
build:
runs-on: ubuntu-latest
test:
runs-on: ${{ matrix.os }}
timeout-minutes: 5

strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
node: ['lts/*']

steps:
- uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: 16.x
- name: npm install
run: npm install && ./node_modules/.bin/npr which standard
- name: npm test
run: npm test
env:
CI: true
node-version: ${{ matrix.node-version }}
- run: npm install && ./node_modules/.bin/npr which standard
- run: npm test

0 comments on commit f3a704e

Please sign in to comment.