updated frontend workflow
This commit is contained in:
parent
6f6feeb34c
commit
e013cf1e07
1 changed files with 27 additions and 0 deletions
27
.github/workflows/frontend-tests.yaml
vendored
Normal file
27
.github/workflows/frontend-tests.yaml
vendored
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
name: Frontend tests
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
paths:
|
||||
- 'frontend/**'
|
||||
- '.github/workflows/frontend-test.yaml'
|
||||
- 'package.json'
|
||||
- 'yarn.lock'
|
||||
|
||||
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
|
||||
|
||||
- name: Run tests
|
||||
run: yarn test
|
||||
Loading…
Add table
Reference in a new issue