Bump actions/setup-node from 4 to 6 #3
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: "Copilot Setup Steps (Windows Only)" | |
| on: | |
| workflow_dispatch: | |
| push: | |
| paths: | |
| - .github/workflows/copilot-setup-steps.yml | |
| pull_request: | |
| paths: | |
| - .github/workflows/copilot-setup-steps.yml | |
| jobs: | |
| # O job precisa se chamar exatamente assim: | |
| copilot-setup-steps: | |
| runs-on: windows-latest | |
| permissions: | |
| contents: read | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version-file: .nvmrc | |
| - name: Show Node and NPM versions | |
| run: | | |
| node -v | |
| npm -v | |
| - name: Install dependencies | |
| run: npm ci | |
| # Se tiver build no seu projeto, deixa esse passo: | |
| - name: Compile project | |
| run: npm run compile | |
| - name: Build CodeeForge Windows (Portable) | |
| run: npm run gulp vscode-win32-x64-min | |
| # Se não tiver build, pode apagar esse step | |
| # Exemplo: rodar testes (opcional) | |
| # - name: Run tests | |
| # run: npm test |