Skip to content

Commit 83140cf

Browse files
committed
Attempt to fix Node.js Github action test script.
1 parent ddd03ae commit 83140cf

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/node.js.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
- name: Use Node.js
2929
uses: actions/setup-node@v4
3030
with:
31-
node-version: latest
31+
node-version: lts/*
3232
cache: 'npm'
3333
cache-dependency-path: ./node/package.json
3434
- run: npm update
@@ -37,10 +37,10 @@ jobs:
3737
working-directory: node
3838
- name: Copy required config files for testing
3939
run: |
40-
mkdir -p ~/.arlobot/rosmaps ~/dev_ws/src ~/.arlobot/status
40+
mkdir -p ~/.arlobot/rosmaps ~/ros2_ws/src ~/.arlobot/status
4141
touch ~/.arlobot/rosmaps/dummymap.data ~/.arlobot/rosmaps/dummymap.posegraph
4242
cp ${{ github.workspace }}/scripts/dotarlobot/personalDataForBehavior.json ~/.arlobot/
43-
ln -s ${{ github.workspace }} ~/dev_ws/src/ArloBot
43+
ln -s ${{ github.workspace }} ~/ArloBot
4444
cd node
4545
- run: npm test
4646
working-directory: node

.github/workflows/react.js.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
- name: Use Node.js
2929
uses: actions/setup-node@v4
3030
with:
31-
node-version: latest
31+
node-version: lts/*
3232
cache: 'npm'
3333
cache-dependency-path: ./website/package.json
3434
- run: npm update

0 commit comments

Comments
 (0)