updated frontend workflow
This commit is contained in:
parent
cb4cb94cea
commit
64bdb500c9
3 changed files with 1 additions and 41 deletions
20
.github/workflows/frontend-dev.yaml
vendored
20
.github/workflows/frontend-dev.yaml
vendored
|
|
@ -6,27 +6,7 @@ concurrency:
|
|||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Set up Node.js
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 20
|
||||
|
||||
- name: Install dependencies
|
||||
run: yarn install
|
||||
|
||||
- name: Run tests
|
||||
run: |
|
||||
cd frontend
|
||||
yarn test
|
||||
|
||||
build:
|
||||
needs: test
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
|
|
|
|||
2
.github/workflows/frontend-tests.yaml
vendored
2
.github/workflows/frontend-tests.yaml
vendored
|
|
@ -24,5 +24,5 @@ jobs:
|
|||
|
||||
- name: Run tests
|
||||
working-directory: frontend
|
||||
run: yarn test --watchAll
|
||||
run: yarn test:ci --watchAll
|
||||
|
||||
|
|
|
|||
20
.github/workflows/frontend.yaml
vendored
20
.github/workflows/frontend.yaml
vendored
|
|
@ -12,27 +12,7 @@ concurrency:
|
|||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Set up Node.js
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 20
|
||||
|
||||
- name: Install dependencies
|
||||
run: yarn install
|
||||
|
||||
- name: Run tests
|
||||
run: |
|
||||
cd frontend
|
||||
yarn test
|
||||
|
||||
build:
|
||||
needs: test
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue