chore(deps): update dependency eslint-config-prettier to ~9.1.0 #2996
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
# This workflow will do a clean install of node dependencies, cache/restore them, build the source code and run tests across different versions of node | |
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions | |
name: Node.js CI | |
on: | |
push: | |
branches: [ dev ] | |
pull_request: | |
branches: [ dev ] | |
env: | |
NPM_TOKEN: ${{secrets.NPM_TOKEN}} | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: π₯ Checkout Repository | |
uses: actions/checkout@v4 | |
- name: π¦ Install pnpm | |
uses: pnpm/action-setup@v4 | |
- name: π Use Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
cache: pnpm | |
- name: π οΈ Install Dependencies | |
run: pnpm install --frozen-lockfile | |
- name: π Check static code analysis | |
run: pnpm run test:eslint | |
- name: π Check code style | |
run: pnpm run test:pretty | |
- name: π§ͺ Run tests | |
run: pnpm run test:coverage | |
- name: ποΈ Build production bundle | |
run: pnpm build |