Skip to content

Commit

Permalink
chore: Update github config to test latest node and windows
Browse files Browse the repository at this point in the history
  • Loading branch information
KamiKillertO committed Oct 14, 2024
1 parent a4cc1f1 commit a6b167e
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 42 deletions.
27 changes: 13 additions & 14 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,27 +5,26 @@ name: Node.js CI

on:
push:
branches: [ main ]
branches: [main, develop]
pull_request: {}

jobs:
test:

runs-on: ${{ matrix.os }}

strategy:
matrix:
node-version: [10.x, 12.x, 14.x]
os: [macos-latest, ubuntu-latest]
node-version: [18.x, 20.x, 22.x]
os: [macos-latest, ubuntu-latest, windows-latest]

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: xvfb-run -a npm test
if: runner.os == 'Linux'
- run: npm test
if: runner.os != 'Linux'
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: volta-cli/action@v4
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: xvfb-run -a npm test
if: runner.os == 'Linux'
- run: npm test
if: runner.os != 'Linux'
27 changes: 0 additions & 27 deletions appveyor.yml

This file was deleted.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@
"vscode:prepublish": "tsc -p ./",
"compile": "tsc -watch -p ./",
"lint": "eslint .",
"test": "npm run vscode:prepublish; node ./out/test/runTest.js"
"test": "npm run vscode:prepublish && node ./out/test/runTest.js"
},
"devDependencies": {
"@types/chai": "5.0.0",
Expand Down

0 comments on commit a6b167e

Please sign in to comment.