DATAP-1208 Convert reducers to RTK slices #1245
Workflow file for this run
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
name: ci | |
on: pull_request | |
jobs: | |
frontend: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '20.x' | |
- name: Install Node dependencies | |
run: | | |
yarn install | |
- name: Lint the source code | |
run: yarn run lint | |
- name: Run front-end unit tests | |
run: yarn run test | |
- name: Update Coveralls | |
uses: coverallsapp/github-action@v2 | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Install webfonts | |
run: | | |
./scripts/fonts.sh | |
- name: Start local website server | |
run: | | |
yarn start & | |
sleep 5 | |
- name: Run browser tests | |
run: yarn run cypress run |