Skip to content

Commit

Permalink
test: attempt to fix windows test runner
Browse files Browse the repository at this point in the history
  • Loading branch information
wessberg committed Aug 3, 2023
1 parent 4311ff5 commit a8b8371
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 3 deletions.
29 changes: 28 additions & 1 deletion .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,41 @@ name: Main Workflow
on: [push, pull_request]

jobs:
run_windows:
name: Run (Windows)

runs-on: windows-latest

steps:
- name: Checkout code
uses: actions/checkout@master

- name: Setup Node.js
uses: actions/setup-node@master
with:
node-version: 20

- name: Setup pnpm
run: npm install pnpm -g

- name: package.json info
uses: jaywcjlove/github-action-package@main
with:
unset: devDependencies.rollup-3_15_0

- name: Install
run: pnpm install

- name: Test
run: pnpm test
run:
name: Run

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

strategy:
matrix:
os: [windows-latest, macos-latest, ubuntu-latest]
os: [macos-latest, ubuntu-latest]
node: [16.14.0, 17, 18, 19, 20]

steps:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@
"typescript-4-9-4": "npm:typescript@4.9.4",
"typescript-5-0-4": "npm:typescript@5.0.4",
"rollup": "^3.27.0",
"rollup-3-15-0": "npm:rollup@3.15.0"
"rollup_3_15_0": "npm:rollup@3.15.0"
},
"dependencies": {
"@rollup/pluginutils": "^5.0.2",
Expand Down
2 changes: 1 addition & 1 deletion pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit a8b8371

Please sign in to comment.