Skip to content

Commit

Permalink
test: build examples
Browse files Browse the repository at this point in the history
  • Loading branch information
darrachequesne committed Oct 10, 2023
1 parent bbf1fdc commit 55dfd23
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 1 deletion.
31 changes: 31 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,34 @@ jobs:
run: npm test
env:
CI: true

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

strategy:
fail-fast: false
matrix:
example:
- angular-todomvc
- create-react-app-example
- custom-parsers
- private-messaging
- 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
2 changes: 1 addition & 1 deletion examples/angular-todomvc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"@types/jasmine": "~3.6.0",
"@types/node": "^12.11.1",
"codelyzer": "^6.0.0",
"jasmine-core": "~3.6.0",
"jasmine-core": "~3.8.0",
"jasmine-spec-reporter": "~5.0.0",
"karma": "~5.1.0",
"karma-chrome-launcher": "~3.1.0",
Expand Down

0 comments on commit 55dfd23

Please sign in to comment.