-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Moved frontend test job to playwright
- Loading branch information
1 parent
0ced37a
commit 31d8767
Showing
2 changed files
with
7 additions
and
35 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 |
---|---|---|
|
@@ -94,36 +94,6 @@ jobs: | |
frontend-test: | ||
name: "Frontend test" | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: "Checkout" | ||
uses: actions/[email protected] | ||
|
||
- name: "Cache NPM dependencies" | ||
uses: actions/[email protected] | ||
with: | ||
path: "~/.npm" | ||
key: npm-dependencies-${{ runner.os }}-${{ env.cache-version }}-${{ hashFiles('package.json') }} | ||
restore-keys: | | ||
npm-dependencies-${{ runner.os }}-${{ env.cache-version }}-${{ hashFiles('package.json') }} | ||
npm-dependencies-${{ runner.os }}-${{ env.cache-version }}- | ||
npm-dependencies-${{ runner.os }}- | ||
- name: "Install NPM dependencies" | ||
run: | | ||
npm ci | ||
- name: "Run tests" | ||
run: | | ||
npm run test:frontend | ||
- name: "Upload coverage results" | ||
uses: codecov/[email protected] | ||
with: | ||
flags: frontend | ||
|
||
frontend-test-playwright: | ||
name: "Frontend test playwright" | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: "Checkout" | ||
uses: actions/[email protected] | ||
|
@@ -167,7 +137,12 @@ jobs: | |
- name: "Run tests" | ||
run: | | ||
npm run _test:frontend-playwright | ||
npm run test:frontend | ||
- name: "Upload coverage results" | ||
uses: codecov/[email protected] | ||
with: | ||
flags: frontend | ||
|
||
- uses: actions/upload-artifact@v3 | ||
if: always() | ||
|
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