chore(deps): Bump zizmorcore/zizmor-action from 0.6.0 to 0.6.2 (#114) #250
This file contains hidden or 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: 馃И Test | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - beta | |
| pull_request: {} | |
| workflow_dispatch: {} | |
| permissions: {} | |
| jobs: | |
| test: | |
| name: 馃И Test | |
| runs-on: ubuntu-latest | |
| if: ${{ !contains(github.event.head_commit.message, '[skip ci]') }} | |
| permissions: | |
| actions: write | |
| contents: read | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: ${{ github.ref != 'refs/heads/main' && github.ref != 'refs/heads/beta' }} | |
| steps: | |
| - name: 馃摜 Checkout repository | |
| uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 | |
| with: | |
| persist-credentials: false | |
| - name: 馃煝 Setup Node.js | |
| uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0 | |
| with: | |
| node-version-file: "package.json" | |
| - name: 馃梽 Cache node_modules | |
| id: cache-node_modules | |
| uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0 | |
| with: | |
| path: "**/node_modules" | |
| key: node_modules-${{ runner.os }}-${{ hashFiles('**/package-lock.json') }} | |
| - name: 馃梽 Cache .eslintcache | |
| uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0 | |
| with: | |
| path: "**/.eslintcache" | |
| # Unique key per commit so the cache is refreshed when code changes, | |
| # while restore-keys reuses the most recent previous cache as a base. | |
| key: eslintcache-${{ runner.os }}-${{ hashFiles('**/package-lock.json') }}-${{ github.sha }} | |
| restore-keys: | | |
| eslintcache-${{ runner.os }}-${{ hashFiles('**/package-lock.json') }}- | |
| eslintcache-${{ runner.os }}- | |
| - name: 馃攳 Install dependencies | |
| if: steps.cache-node_modules.outputs.cache-hit != 'true' | |
| run: | | |
| npm ci --prefer-offline --no-audit | |
| # `.npmrc` sets `ignore-scripts=true`. In case there is | |
| # a build script, it must now get executed explicitly. | |
| - name: 馃摝 Build | |
| run: npm run build --if-present | |
| - name: 馃И Run tests | |
| env: | |
| CI: true | |
| run: | | |
| npm test |