Skip to content
This repository has been archived by the owner on Aug 15, 2024. It is now read-only.

Commit

Permalink
ci: add action to try to build the dist file (#850)
Browse files Browse the repository at this point in the history
Tries to compile the single .js file. If the command fails, then the
test is marked as a failure.
  • Loading branch information
chingor13 authored Nov 6, 2023
1 parent 9108012 commit ca61f37
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,15 @@ jobs:
node-version: 20
- run: npm install
- run: npm test
build-dist:
runs-on: ubuntu-latest
strategy:
matrix:
node: [18, 20]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node }}
- run: npm ci
- run: npm run build

0 comments on commit ca61f37

Please sign in to comment.