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 1db50b7 commit a43fde1
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 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,20 +6,25 @@ on:
pull_request:
branches: [ main ]

env:
FORCE_COLOR: 2

jobs:
build:

runs-on: ubuntu-latest

strategy:
matrix:
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: |
echo "::remove-matcher owner=eslint-compact::"
echo "::remove-matcher owner=eslint-stylish::"
- run: npm run test

0 comments on commit a43fde1

Please sign in to comment.