Merge branch 'release-v0.9.0b3' into v0.9.x #1653
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: Javascript CI | |
on: | |
push: | |
paths: ['fittrackee_client/**'] | |
pull_request: | |
paths: ['fittrackee_client/**'] | |
types: [opened, synchronize, reopened] | |
env: | |
working-directory: fittrackee_client | |
jobs: | |
javascript: | |
if: ${{ github.event_name == 'push' || github.event.pull_request.head.repo.fork }} | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js 18.x | |
uses: actions/setup-node@v4 | |
with: | |
node-version: "18.x" | |
- name: Install yarn and dependencies | |
working-directory: ${{env.working-directory}} | |
run: | | |
npm install --global yarn | |
yarn install | |
- name: Lint | |
working-directory: ${{env.working-directory}} | |
run: yarn lint | |
- name: Type check | |
working-directory: ${{env.working-directory}} | |
run: yarn type-check | |
- name: Tests | |
working-directory: ${{env.working-directory}} | |
run: yarn test:unit | |
- name: Build | |
working-directory: ${{env.working-directory}} | |
run: yarn build |