trying to run test on windows GHA runner #4
This file contains 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: Extension Test | |
on: | |
push: | |
branches: [ feature/integrationTestCI ] | |
pull_request: | |
branches: [ feature/integrationTestCI ] | |
workflow_dispatch: | |
jobs: | |
test: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Create .test_env file | |
run: | | |
echo "OPENROUTER_API_KEY=${{ secrets.OPENROUTER_API_KEY }}" > .test_env | |
- name: Setup Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '18' | |
- name: Install dependencies | |
run: npm run install:all | |
- name: Compile TypeScript | |
run: npm run compile | |
- name: Run tests | |
run: npm run test:extension | |