updated frontend workflow
This commit is contained in:
parent
4709b25caa
commit
6f6feeb34c
1 changed files with 20 additions and 0 deletions
20
.github/workflows/frontend.yaml
vendored
20
.github/workflows/frontend.yaml
vendored
|
|
@ -12,7 +12,27 @@ 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