Skip to content

Commit

Permalink
test: build examples in the CI (#3856)
Browse files Browse the repository at this point in the history
  • Loading branch information
MaximeKjaer authored and darrachequesne committed Oct 10, 2023
1 parent bbf1fdc commit 1cdf36b
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,31 @@ jobs:
run: npm test
env:
CI: true

build-examples:
runs-on: ubuntu-latest
timeout-minutes: 10

strategy:
fail-fast: false
matrix:
example:
- custom-parsers
- typescript
- webpack-build
- webpack-build-server

steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Use Node.js 20
uses: actions/setup-node@v3
with:
node-version: 20

- name: Build ${{ matrix.example }}
run: |
cd examples/${{ matrix.example }}
npm install
npm run build

0 comments on commit 1cdf36b

Please sign in to comment.