-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/main' into dependencies/rui-octo…
…ber-updates
- Loading branch information
Showing
5 changed files
with
2,508 additions
and
23 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 |
---|---|---|
@@ -1,31 +1,46 @@ | ||
name: Tests | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
tests: | ||
strategy: | ||
matrix: | ||
node-version: [18.x] | ||
|
||
os: [ubuntu-latest, windows-latest, macos-latest] | ||
fail-fast: false | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Checkout Repo | ||
uses: actions/checkout@v3 | ||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v2 | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
- run: npm install -force | ||
- run: npm run storybook & npx wait-on http://localhost:6006 | ||
- run: npm test | ||
- name: Install Dependencies | ||
run: npm install -force | ||
- name: Lint Checks | ||
run: npm run test:lint | ||
- name: Typescript Checks | ||
run: npm run type-check | ||
- name: Unit Tests | ||
run: npm run test:unit | ||
env: | ||
CI: true | ||
- uses: actions/upload-artifact@v2 | ||
- name: End to End Tests | ||
run: npm run test:playwright | ||
env: | ||
CI: true | ||
- name: Upload Playwright Report | ||
uses: actions/upload-artifact@v3 | ||
if: always() | ||
with: | ||
name: playwright-report ${{ matrix.node-version }} | ||
path: playwright-report | ||
- name: Upload Coverage Report | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: coverage-report ${{ matrix.node-version }} | ||
path: coverage/lcov-report |
Oops, something went wrong.