Upgrade actions/checkout, setup-node, upload-artifact, download-artifact, and codeql-action to their latest major versions that run on Node 24. Replace NathanFirmo/wait-for-other-job with native needs: build for test-unit and test-integration jobs. Fixes #6006 Co-authored-by: Cursor Agent <cursoragent@cursor.com> Co-authored-by: Daniel Imms <Tyriar@users.noreply.github.com>
33 lines
668 B
YAML
33 lines
668 B
YAML
name: "Copilot Setup Steps"
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
push:
|
|
paths:
|
|
- .github/workflows/copilot-setup-steps.yml
|
|
pull_request:
|
|
paths:
|
|
- .github/workflows/copilot-setup-steps.yml
|
|
|
|
jobs:
|
|
copilot-setup-steps:
|
|
runs-on: ubuntu-latest
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v5
|
|
- name: Use Node.js 22.x
|
|
uses: actions/setup-node@v5
|
|
with:
|
|
node-version: 22.x
|
|
cache: 'npm'
|
|
- name: Install dependencies
|
|
run: npm ci
|
|
- name: Setup and run tsc
|
|
run: npm run setup
|
|
- name: Esbuild
|
|
run: npm run esbuild
|