Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: Run tests on windows #3697

Merged
merged 1 commit into from
Aug 11, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 25 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -156,12 +156,20 @@ jobs:
test-package-cli:
needs:
- build
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
version: [20, 18, 16, 14]
name: CLI nodejs ${{ matrix.version }}
os: [windows-latest, ubuntu-latest]
node: [20, 18, 16, 14]
exclude:
- os: windows-latest
node: 20
- os: windows-latest
node: 18
- os: windows-latest
node: 16
runs-on: ${{ matrix.os }}
name: CLI ${{ matrix.os }} nodejs ${{ matrix.node }}
steps:
- uses: actions/checkout@v3

Expand All @@ -174,7 +182,7 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v3.7.0
with:
node-version: ${{ matrix.version }}
node-version: ${{ matrix.node }}
cache: ${{ steps.cache.outputs.PACKAGE }}

- name: Download build files
Expand All @@ -198,25 +206,32 @@ jobs:
test-package-webpack-plugin:
needs:
- build
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
version: [20, 18, 16, 14]
os: [windows-latest, ubuntu-latest]
node: [20, 18, 16, 14]
webpack: ['webpack4', 'webpack5']
exclude:
- webpack: 'webpack4'
version: 18
node: 18
- webpack: 'webpack4'
version: 20
name: ${{ matrix.webpack }} plugin nodejs ${{ matrix.version }}
node: 20
- os: windows-latest
node: 20
- os: windows-latest
node: 18
- os: windows-latest
node: 16
runs-on: ${{ matrix.os }}
name: ${{ matrix.webpack }} plugin ${{ matrix.os }} nodejs ${{ matrix.node }}
steps:
- uses: actions/checkout@v3

- name: Use Node.js
uses: actions/setup-node@v3.7.0
with:
node-version: ${{ matrix.version }}
node-version: ${{ matrix.node }}

- name: Download build files
uses: actions/download-artifact@v3
Expand Down