Merge pull request #758 from betagouv/main #1487
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: Build, format & test workflow | |
on: [push] | |
env: | |
DISABLE_ESLINT_PLUGIN: true | |
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: 16 | |
registry-url: https://registry.npmjs.org/ | |
- run: yarn install --immutable | |
- run: yarn build | |
- run: yarn checkformat | |
- run: yarn test |