chore(deps): update dev-dependencies (non-major) #1581
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: Syntax linter | |
on: | |
push: | |
branches: | |
- '**' # matches every branch | |
- '!main' # excludes main | |
pull_request: | |
env: | |
NODE_VERSION: '20' | |
jobs: | |
lint: | |
name: Syntax & Format Linter | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Uses Node.js ${{ env.NODE_VERSION }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ env.NODE_VERSION }} | |
- name: Install Dependencies | |
run: yarn install --frozen-lockfile | |
- name: Check errors with ESLint | |
run: yarn run lint | |
- name: Check format with Prettier | |
run: yarn run format | |
- name: Test Build | |
run: yarn run build |