chore(deps): bump actions/upload-artifact from 4 to 5 #71
Workflow file for this run
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: Node CI | |
| on: | |
| push: | |
| pull_request: | |
| jobs: | |
| lint: | |
| name: Lint | |
| runs-on: ubuntu-latest | |
| continue-on-error: true | |
| timeout-minutes: 15 | |
| steps: | |
| - name: Git checkout | |
| uses: actions/checkout@v5 | |
| with: | |
| persist-credentials: false | |
| - name: Use Node.js 22.x | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: 22.x | |
| - name: Prepare Environment | |
| run: | | |
| corepack enable | |
| yarn install | |
| yarn build | |
| env: | |
| CI: true | |
| - name: Run typecheck and linter | |
| run: | | |
| yarn lint | |
| env: | |
| CI: true | |
| test: | |
| name: Test | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 15 | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| node-version: [20.x, 22.x, 24.x] | |
| steps: | |
| - name: Git checkout | |
| uses: actions/checkout@v5 | |
| with: | |
| persist-credentials: false | |
| - name: Use Node.js ${{ matrix.node-version }} | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| - name: Prepare Environment | |
| run: | | |
| corepack enable | |
| yarn install | |
| env: | |
| CI: true | |
| - name: Run tests | |
| run: | | |
| yarn unit | |
| env: | |
| CI: true | |
| validate-dependencies: | |
| name: Validate production dependencies | |
| runs-on: ubuntu-latest | |
| continue-on-error: true | |
| timeout-minutes: 15 | |
| steps: | |
| - uses: actions/checkout@v5 | |
| with: | |
| persist-credentials: false | |
| - name: Use Node.js 22.x | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: 22.x | |
| - name: Prepare Environment | |
| run: | | |
| corepack enable | |
| yarn install | |
| env: | |
| CI: true | |
| - name: Validate production dependencies | |
| run: | | |
| if ! git log --format=oneline -n 1 | grep -q "\[ignore-audit\]"; then | |
| yarn validate:dependencies | |
| else | |
| echo "Skipping audit" | |
| fi | |
| env: | |
| CI: true | |
| validate-all-dependencies: | |
| name: Validate all dependencies | |
| runs-on: ubuntu-latest | |
| continue-on-error: true | |
| timeout-minutes: 15 | |
| steps: | |
| - uses: actions/checkout@v5 | |
| with: | |
| persist-credentials: false | |
| - name: Use Node.js 22.x | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: 22.x | |
| - name: Prepare Environment | |
| run: | | |
| corepack enable | |
| yarn install | |
| env: | |
| CI: true | |
| - name: Validate production dependencies | |
| run: | | |
| yarn validate:dependencies | |
| env: | |
| CI: true | |
| - name: Validate dev dependencies | |
| run: | | |
| yarn validate:dev-dependencies | |
| env: | |
| CI: true |