chore(deps): update eslint to v9.14.0 #1051
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: '[π] Build' | |
on: | |
push: | |
pull_request: | |
jobs: | |
build: | |
name: '[π] Build' | |
runs-on: 'ubuntu-latest' | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 # checkout full history | |
- name: Setup Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- name: Set yarn version to latest stable | |
run: | | |
corepack enable | |
yarn set version latest | |
- name: Get yarn cache directory path | |
id: yarn_cache_dir | |
run: echo "dir=$(yarn config get cacheFolder)" >> $GITHUB_OUTPUT | |
- name: Restore Cache | |
uses: actions/cache@v4 | |
with: | |
path: | | |
${{ steps.yarn_cache_dir.outputs.dir }} | |
**/node_modules | |
**/.eslintcache | |
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock', '.yarnrc.yml') }} | |
restore-keys: | | |
${{ runner.os }}-yarn- | |
- name: Install dependencies | |
run: | | |
yarn install --immutable | |
- name: Run CI Script | |
run: | | |
yarn ci | |
- name: Show changes | |
run: | | |
git --no-pager diff --color-words | |
- name: Commit & Push changes | |
if: github.ref == 'refs/heads/master' || github.ref == 'refs/heads/feat/better-resource-management' | |
uses: actions-js/push@master | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
message: 'chore: updates by CI' | |
branch: ${{ github.ref_name }} |