Merge pull request #950 from betagouv/main #33
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: "[Mobile-tools] Build, format & test workflow" | |
on: | |
push: | |
paths: | |
- 'mobile-tools/**' | |
defaults: | |
run: | |
working-directory: ./mobile-tools | |
jobs: | |
# This workflow contains a single job called "greet" | |
build: | |
# The type of runner that the job will run on | |
runs-on: ubuntu-latest | |
# Steps represent a sequence of tasks that will be | |
# executed as part of the job | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 20.9.0 | |
registry-url: https://registry.npmjs.org/ | |
- run: yarn install --immutable | |
- run: yarn checkformat | |
- run: yarn build | |
- run: yarn test |