Skip to content

Commit

Permalink
chore: rename GH action "build" -> "test"
Browse files Browse the repository at this point in the history
  • Loading branch information
leggetter committed Feb 1, 2024
1 parent a15835a commit d8fcde6
Showing 1 changed file with 11 additions and 12 deletions.
23 changes: 11 additions & 12 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,20 @@ name: Tests

on:
push:
branches: [ "main" ]
branches: ["main"]
pull_request:
branches: [ "main" ]
branches: ["main"]

jobs:
build:

test:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Test
uses: actions/setup-node@v3
with:
cache: 'npm'
- run: npm ci
- run: npm run build --if-present
- run: npm test
- uses: actions/checkout@v3
- name: Test
uses: actions/setup-node@v3
with:
cache: "npm"
- run: npm ci
- run: npm run build --if-present
- run: npm test

0 comments on commit d8fcde6

Please sign in to comment.