-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
49bdaa4
commit 6aa3907
Showing
1 changed file
with
26 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,9 +3,9 @@ name: Continuous Integration | |
|
||
on: | ||
push: | ||
branches: [ master ] | ||
branches: [master] | ||
pull_request: | ||
branches: [ master ] | ||
branches: [master] | ||
|
||
jobs: | ||
build: | ||
|
@@ -18,39 +18,35 @@ jobs: | |
|
||
name: Build and run tests | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
|
||
- name: Install pnpm | ||
uses: pnpm/[email protected] | ||
with: | ||
version: 8.0.0 | ||
- name: Install pnpm | ||
uses: pnpm/[email protected] | ||
with: | ||
version: 8.0.0 | ||
|
||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
cache: "pnpm" | ||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
cache: "pnpm" | ||
|
||
- name: Install dependencies | ||
run: pnpm install | ||
- name: Install dependencies | ||
run: pnpm install | ||
|
||
- name: Install playwright browsers | ||
run: npx playwright install | ||
working-directory: ./app/e2e-tests | ||
- name: ESLint | ||
run: npm run lint | ||
|
||
- name: ESLint | ||
run: npm run lint | ||
- name: Typecheck | ||
run: npm run typecheck | ||
|
||
- name: Typecheck | ||
run: npm run typecheck | ||
- name: Build presentation-rules-editor-react package | ||
run: npm run build --prefix ./presentation-rules-editor-react | ||
|
||
- name: Build presentation-rules-editor-react package | ||
run: npm run build --prefix ./presentation-rules-editor-react | ||
- name: Check unit test coverage | ||
run: npm run test:cover --prefix ./presentation-rules-editor-react | ||
|
||
- name: Check unit test coverage | ||
run: npm run test:cover --prefix ./presentation-rules-editor-react | ||
|
||
- name: Run end-to-end tests | ||
run: npm test --prefix ./app/e2e-tests | ||
timeout-minutes: 5 | ||
- name: Run end-to-end tests | ||
run: npm test --prefix ./app/e2e-tests | ||
timeout-minutes: 5 |