Skip to content

Commit d8e9c5e

Browse files
author
Guy Bedford
authored
fix: windows support & windows ci (#962)
1 parent 3f0e69a commit d8e9c5e

File tree

629 files changed

+153
-39
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

629 files changed

+153
-39
lines changed

.github/workflows/main.yml

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ jobs:
3333
- uses: actions/setup-node@v3
3434
with:
3535
node-version: 'lts/*'
36+
- run: cd documentation && npm run rename
3637
- run: cd documentation && npm ci
3738
- run: cd documentation && npm run build
3839

@@ -113,11 +114,21 @@ jobs:
113114

114115
test-npm-package:
115116
if: github.ref != 'refs/heads/main'
116-
runs-on: ubuntu-latest
117117
needs: [build]
118118
strategy:
119119
matrix:
120120
node-version: [18, 22]
121+
os: [
122+
ubuntu-latest,
123+
windows-latest,
124+
macos-latest
125+
]
126+
exclude:
127+
- os: macos-latest
128+
node-version: 18
129+
- os: windows-latest
130+
node-version: 18
131+
runs-on: ${{ matrix.os }}
121132
steps:
122133
- uses: actions/checkout@v3
123134
- uses: actions/setup-node@v3
@@ -131,6 +142,14 @@ jobs:
131142
uses: actions/download-artifact@v3
132143
with:
133144
name: fastly-debug
145+
- name: Download Engine
146+
uses: actions/download-artifact@v3
147+
with:
148+
name: fastly-weval
149+
- name: Download Engine Weval Cache
150+
uses: actions/download-artifact@v3
151+
with:
152+
name: fastly-weval-ic-cache
134153
- run: npm install
135154
- run: npm test
136155

.github/workflows/release-please.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ jobs:
4545

4646
- run: npm update
4747
working-directory: ./documentation
48+
- run: npm run rename
49+
working-directory: ./documentation
4850
- run: npm run docusaurus docs:version "$(npm pkg get version --json --prefix=../ | jq -r)"
4951
working-directory: ./documentation
5052

@@ -166,6 +168,9 @@ jobs:
166168
env:
167169
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
168170

171+
- run: npm run rename
172+
working-directory: ./documentation
173+
169174
- run: npm ci
170175
working-directory: ./documentation
171176

0 commit comments

Comments
 (0)