-
Notifications
You must be signed in to change notification settings - Fork 70
26 lines (25 loc) · 829 Bytes
/
ci.yml
File metadata and controls
26 lines (25 loc) · 829 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# https://docs.github.com/en/actions/use-cases-and-examples/building-and-testing/building-and-testing-nodejs
name: ci
on: [push, pull_request]
jobs:
ci:
strategy:
fail-fast: false
matrix:
node-version: ['18.x', '20.x', '22.x', '24.x', '25.x']
os: [windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm run build --if-present
# https://community.chocolatey.org/packages?q=Excel
- name: "Installing Office 365 takes about 5 minutes..."
run: choco install office365proplus
- run: |
npm install -g mocha
# mocha --expose-gc test # Three tests will fail!
- run: npm test