Skip to content

Commit 4241fc8

Browse files
test moving node outside cross
1 parent c21c5c0 commit 4241fc8

File tree

2 files changed

+3
-8
lines changed

2 files changed

+3
-8
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,8 +138,9 @@ jobs:
138138
uses: aws-actions/setup-sam@v2
139139
with:
140140
use-installer: true
141-
- name: install unzip
142-
run: sudo apt-get update && sudo apt-get install -y unzip
141+
- uses: actions/setup-node@v4
142+
with:
143+
node-version: 22
143144

144145
- name: Build targets
145146
run: |

Cross.toml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,4 @@
11
[build]
22
pre-build = [
3-
# install nodejs and npm to compile static web resources
4-
# note that architecture could be the same as the container, not $CROSS_DEB_ARCH
5-
"curl https://fnm.vercel.app/install -o install.sh",
6-
# Download and install Node.js:
7-
"bash install.sh",
8-
"fnm install 22",
93
"node -v",
104
]

0 commit comments

Comments
 (0)