Skip to content

Commit

Permalink
Updates to the build action
Browse files Browse the repository at this point in the history
  • Loading branch information
bhousel committed Dec 22, 2023
1 parent 9d47cdb commit 1f2a8a3
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions

name: build

on:
Expand All @@ -9,6 +6,9 @@ on:
pull_request:
branches: [ main ]

env:
FORCE_COLOR: 2

jobs:
build:
runs-on: ubuntu-latest
Expand All @@ -18,10 +18,13 @@ jobs:
node-version: [18, 20]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: npm run test
- run: |
echo "::remove-matcher owner=eslint-compact::"
echo "::remove-matcher owner=eslint-stylish::"
- run: npm run test

0 comments on commit 1f2a8a3

Please sign in to comment.