chore(deps): bump actions/checkout from 6 to 7 #72
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: Build | |
| on: | |
| push: | |
| branches: [master] | |
| pull_request: | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| # Validate Conventional Commits | |
| validateCommits: | |
| name: Validate Commits | |
| runs-on: ubuntu-latest | |
| steps: | |
| # Check out the current repository | |
| - name: Fetch Sources | |
| uses: actions/checkout@v7 | |
| # Validate Conventional Commits | |
| - name: Validate Conventional Commits | |
| uses: wagoid/commitlint-github-action@v5 | |
| # Run ESLint Check | |
| lint: | |
| name: Lint Check | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Fetch Sources | |
| uses: actions/checkout@v7 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: 24 | |
| - name: Install Dependencies | |
| run: npm ci | |
| - name: Run Lint Check | |
| run: npm run lint | |
| # Run Prettier Formatting Check | |
| prettier: | |
| name: Prettier Check | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Fetch Sources | |
| uses: actions/checkout@v7 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: 24 | |
| - name: Install Dependencies | |
| run: npm ci | |
| - name: Run Prettier Check | |
| run: npm run format:check | |
| # Run Dependency Audit Check | |
| audit: | |
| name: Audit Check | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Fetch Sources | |
| uses: actions/checkout@v7 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: 24 | |
| - name: Run Audit Check | |
| run: npm audit | |
| # Build and package extension | |
| buildExtension: | |
| name: Build Extension | |
| needs: [validateCommits, lint, prettier, audit] | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| steps: | |
| - name: Fetch Sources | |
| uses: actions/checkout@v7 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: 24 | |
| - name: Install Dependencies | |
| run: npm ci | |
| - name: Compile Extension | |
| run: npm run compile | |
| - name: Package VSIX | |
| run: npx @vscode/vsce package --no-yarn --out parable-workspaces.vsix | |
| - name: Upload VSIX Artifact | |
| if: github.event_name == 'push' | |
| uses: actions/upload-artifact@v7 | |
| with: | |
| name: vscode-extension-vsix | |
| path: parable-workspaces.vsix |