chore(deps): update dependency @nuxt/eslint-config to v1 #2846
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: CI | |
on: | |
pull_request: | |
push: | |
branches: | |
- alpha | |
- beta | |
- master | |
- renovate/** | |
jobs: | |
prepare_jobs: | |
name: 'Prepare: job optimization' | |
runs-on: ubuntu-latest | |
outputs: | |
pr_found: ${{ steps.pr.outputs.pr_found }} | |
steps: | |
- name: Get current PR | |
id: pr | |
uses: 8BitJonny/gh-get-current-pr@3.0.0 | |
with: | |
filterOutClosed: true | |
sha: ${{ github.event.pull_request.head.sha }} | |
build: | |
needs: prepare_jobs | |
if: needs.prepare_jobs.outputs.pr_found == 'false' || github.event_name == 'pull_request' | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [macos-latest, ubuntu-latest, windows-latest] | |
node: ['18', '22'] | |
steps: | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node }} | |
- name: Setup pnpm | |
run: corepack enable | |
- name: checkout | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | |
- name: cache node_modules | |
uses: actions/cache@v4 | |
with: | |
path: node_modules | |
key: ${{ matrix.os }}-node-v${{ matrix.node }}-deps-${{ hashFiles(format('{0}{1}', github.workspace, '/pnpm-lock.yaml')) }} | |
- name: Install dependencies | |
if: steps.cache.outputs.cache-hit != 'true' | |
run: pnpm install | |
- name: Lint | |
run: pnpm run lint && pnpm run -r lint | |
- name: Build | |
run: pnpm run build && pnpm run -r build | |
release_semantic: | |
needs: build | |
name: Release (semantic) | |
uses: dargmuesli/github-actions/.github/workflows/release-semantic.yml@2.3.12 | |
permissions: | |
contents: write | |
secrets: | |
PERSONAL_ACCESS_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }} | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} |