Bump eslint from 9.16.0 to 9.17.0 (#1141) #2223
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: Workflow | |
on: | |
pull_request: | |
branches: | |
- master | |
push: | |
branches: | |
- master | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.head_ref }} | |
cancel-in-progress: true | |
jobs: | |
review-warnings-and-build: | |
name: "Source files are prettified, then verify if build is possible" | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
steps: | |
- name: Check out Code | |
uses: actions/checkout@v3 | |
- name: Read .nvmrc | |
id: node_version | |
run: echo "$(cat .nvmrc)" && echo "NVMRC=$(cat .nvmrc)" >> $GITHUB_ENV | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ env.NVMRC }} | |
- name: Install Dependencies | |
continue-on-error: false | |
run: | | |
corepack enable | |
yarn install --immutable | |
- name: Check if build is correct | |
continue-on-error: false | |
run: | | |
yarn build | |
- name: Check if Files are Prettified | |
continue-on-error: false | |
run: | | |
./check-prettier.sh |