File tree Expand file tree Collapse file tree 3 files changed +24
-6
lines changed Expand file tree Collapse file tree 3 files changed +24
-6
lines changed Original file line number Diff line number Diff line change @@ -65,18 +65,26 @@ jobs:
65
65
- name : install react
66
66
if : ${{ matrix.react_version }}
67
67
run : |
68
- sed -i "/^overrides:/a\ react: \"${{ matrix.react_version }} \"" pnpm-workspace.yaml
69
- sed -i "/^overrides:/a\ react-dom: \"${{ matrix.react_version }} \"" pnpm-workspace.yaml
70
- sed -i "/^overrides:/a\ react-server-dom-webpack: \"${{ matrix.react_version }} \"" pnpm-workspace.yaml
68
+ sed -i "/^overrides:/a\ react: \"$REACT_VERSION \"" pnpm-workspace.yaml
69
+ sed -i "/^overrides:/a\ react-dom: \"$REACT_VERSION \"" pnpm-workspace.yaml
70
+ sed -i "/^overrides:/a\ react-server-dom-webpack: \"$REACT_VERSION \"" pnpm-workspace.yaml
71
71
pnpm i --no-frozen-lockfile
72
+ env :
73
+ REACT_VERSION : ${{ matrix.react_version }}
72
74
- run : pnpm build
73
75
- name : install rolldown
74
76
if : ${{ matrix.rolldown }}
75
77
run : |
76
78
sed -i '/^overrides:/a\ vite: "npm:rolldown-vite@latest"' pnpm-workspace.yaml
77
79
pnpm i --no-frozen-lockfile
78
- - run : pnpm -C packages/plugin-rsc exec playwright install ${{ matrix.browser }}
79
- - run : pnpm -C packages/plugin-rsc test-e2e-ci --project=${{ matrix.browser }}
80
+ - run : pnpm -C packages/plugin-rsc exec playwright install "$BROWSER_NAME"
81
+ shell : bash
82
+ env :
83
+ BROWSER_NAME : ${{ matrix.browser }}
84
+ - run : pnpm -C packages/plugin-rsc test-e2e-ci --project="$BROWSER_NAME"
85
+ shell : bash
86
+ env :
87
+ BROWSER_NAME : ${{ matrix.browser }}
80
88
- uses : actions/upload-artifact@v4
81
89
if : always()
82
90
with :
Original file line number Diff line number Diff line change 24
24
with :
25
25
node-version : 22
26
26
registry-url : https://registry.npmjs.org/
27
+ # disable cache, to avoid cache poisoning (https://docs.zizmor.sh/audits/#cache-poisoning)
28
+ package-manager-cache : false
29
+
30
+ - name : Disallow installation scripts
31
+ run : yq '.onlyBuiltDependencies = []' -i pnpm-workspace.yaml
27
32
28
33
- name : Install deps
29
34
run : pnpm install
59
64
tag-name : ${{ github.ref_name }}
60
65
61
66
- if : steps.tag.outputs.isAlpha == 'false' && steps.tag.outputs.pkgName == 'plugin-rsc'
62
- uses : yyx990803/release-tag@master
67
+ uses : yyx990803/release-tag@8cccf7c5aa332d71d222df46677f70f77a8d2dc0 # v1.0.0
63
68
env :
64
69
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
65
70
with :
Original file line number Diff line number Diff line change 26
26
- uses : actions/setup-node@v5
27
27
with :
28
28
node-version : lts/*
29
+ # disable cache, to avoid cache poisoning (https://docs.zizmor.sh/audits/#cache-poisoning)
30
+ package-manager-cache : false
31
+
32
+ - name : Disallow installation scripts
33
+ run : yq '.onlyBuiltDependencies = []' -i pnpm-workspace.yaml
29
34
30
35
- name : Install dependencies
31
36
run : pnpm install
You can’t perform that action at this time.
0 commit comments