Skip to content

Commit

Permalink
Improved github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenewald committed May 26, 2023
1 parent ba3d1d6 commit 7274916
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
name: CRACO Unit and Integration Tests

on:
push:
branches: [main]
pull_request:
branches: [main]
on: [push, pull_request]

jobs:
build:
Expand All @@ -21,7 +17,7 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: CI=false npm run build
- run: npm run build
- run: npm run test:unit
- run: npx playwright install-deps
- run: CI=false npm run test:integration
- run: NODE_ENV=production npm run test:integration

0 comments on commit 7274916

Please sign in to comment.