Skip to content

Commit

Permalink
ci: use older windows
Browse files Browse the repository at this point in the history
  • Loading branch information
derberg committed Apr 4, 2024
1 parent 8d543fa commit 1e0b584
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 15 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/if-nodejs-pr-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
os: [ubuntu-latest, macos-latest, windows-2019]
steps:
- if: >
!github.event.pull_request.draft && !(
Expand Down Expand Up @@ -59,10 +59,7 @@ jobs:
- if: steps.packagejson.outputs.exists == 'true'
name: Install dependencies
shell: bash
run: |
rm -rf C:\npm\cache\_cacache\tmp
npm cache clean --force
npm ci
run: npm ci
- if: steps.packagejson.outputs.exists == 'true'
name: Test
run: npm test --if-present
Expand All @@ -71,4 +68,4 @@ jobs:
run: npm run lint --if-present
- if: steps.packagejson.outputs.exists == 'true'
name: Run release assets generation to make sure PR does not break it
run: npm run generate:assets --if-present
run: npm run generate:assets --if-present
12 changes: 3 additions & 9 deletions .github/workflows/if-nodejs-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
os: [ubuntu-latest, macos-latest, windows-2019]
steps:
- name: Set git to use LF #to once and for all finish neverending fight between Unix and Windows
run: |
Expand All @@ -56,10 +56,7 @@ jobs:
- if: steps.packagejson.outputs.exists == 'true'
name: Install dependencies
shell: bash
run: |
rm -rf C:\npm\cache\_cacache\tmp
npm cache clean --force
npm ci
run: npm ci
- if: steps.packagejson.outputs.exists == 'true'
name: Run test
run: npm test --if-present
Expand Down Expand Up @@ -100,10 +97,7 @@ jobs:
- if: steps.packagejson.outputs.exists == 'true'
name: Install dependencies
shell: bash
run: |
rm -rf C:\npm\cache\_cacache\tmp
npm cache clean --force
npm ci
run: npm ci
- if: steps.packagejson.outputs.exists == 'true'
name: Add plugin for conventional commits for semantic-release
run: npm install --save-dev [email protected]
Expand Down

0 comments on commit 1e0b584

Please sign in to comment.