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 committed Oct 10, 2023
1 parent c2858e9 commit f3ea96e
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/ci.yml
Expand Up @@ -24,3 +24,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 f3ea96e

Please sign in to comment.