-
Notifications
You must be signed in to change notification settings - Fork 18
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
fix: move files to build cache after files are uploaded instead of copying them before uploads #753
Changes from all commits
1844993
0deac07
d1154ad
9fbce46
083fc2f
cb01d0c
a82a6a5
482a491
a60b5d7
30ecbf5
4bd1abb
7f6b7d7
1f942aa
16bed3d
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,7 +14,7 @@ jobs: | |
- uses: actions/checkout@v3 | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: '*' | ||
node-version: '18' | ||
- name: Global Node packages cache | ||
uses: actions/cache@v3 | ||
with: | ||
|
@@ -29,7 +29,7 @@ jobs: | |
key: | ||
ubuntu-build-${{ env.cache-name }}-${{ | ||
hashFiles('plugin/test/fixtures/**/package.json') }}-node-modules | ||
- run: npm install -g netlify-cli | ||
- run: npm install -g netlify-cli@18.0.0 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. there seems to be regression in latest version of cli (18.0.1) that result in skipping rewrites to I suspect it's caused by netlify/cli#6994 and reported in https://netlify.slack.com/archives/C07686YAY13/p1737134106866159?thread_ts=1736521386.323879&cid=C07686YAY13 |
||
- run: npm ci | ||
- run: cd plugin && npm ci && npm run build | ||
- run: npm test | ||
|
@@ -56,7 +56,7 @@ jobs: | |
key: | ||
macOS-build-${{ env.cache-name }}-${{ | ||
hashFiles('plugin/test/fixtures/**/package.json') }}-node-modules | ||
- run: npm install -g netlify-cli | ||
- run: npm install -g netlify-cli@18.0.0 | ||
- run: npm ci | ||
- run: cd plugin && npm ci && npm run build | ||
- run: npm test |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,7 +21,7 @@ | |
}, | ||
"dependencies": { | ||
"@sindresorhus/slugify": "^1.1.2", | ||
"gatsby": "next", | ||
"gatsby": "5.11.0", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. last version pre adapters that result in build plugin actually doing anything |
||
"gatsby-plugin-image": "next", | ||
"gatsby-plugin-sharp": "next", | ||
"gatsby-source-filesystem": "next", | ||
|
Large diffs are not rendered by default.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
gatsby v3 which is tested doesn't work on newer nodes - https://github.com/netlify/netlify-plugin-gatsby/actions/runs/12812982624/job/35725952139#step:9:950