Skip to content

AP-25351: Add copilot instructions #2

AP-25351: Add copilot instructions

AP-25351: Add copilot instructions #2

name: "Copilot Setup Steps"
# Automatically run the setup steps when they are changed to allow for easy validation, and
# allow manual testing through the repository's "Actions" tab
on:
workflow_dispatch:
push:
paths:
- .github/workflows/copilot-setup-steps.yml
pull_request:
paths:
- .github/workflows/copilot-setup-steps.yml
jobs:
# The job MUST be called `copilot-setup-steps` or it will not be picked up by Copilot.
copilot-setup-steps:
runs-on: ubuntu-latest
permissions:
contents: read
defaults:
run:
working-directory: org.knime.python3.scripting.nodes/js-src
steps:
- name: Checkout code
uses: actions/checkout@v5
- name: Install Node.js
uses: actions/setup-node@v6
with:
node-version: "22.11.0"
cache: "npm"
cache-dependency-path: org.knime.python3.scripting.nodes/js-src/package-lock.json
- name: Install dependencies
run: npm ci