Skip to content

Commit bb0df51

Browse files
committed
ci: add Node.js setup step in build-and-deploy workflow
1 parent 465ad4c commit bb0df51

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/build-and-deploy.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,11 @@ jobs:
5050
IMAGE_NAME='danysk/alchemist-sapere-tutorial'
5151
echo docker build -t "$IMAGE_NAME:latest" .
5252
docker build -t "$IMAGE_NAME:latest" .
53+
- name: Install Node
54+
uses: actions/setup-node@v6.2.0
55+
with:
56+
node-version-file: package.json
5357
- name: Create Release
54-
if: >-
55-
github.event_name != 'pull_request'
56-
&& github.repository == 'AlchemistSimulator/SAPERE-incarnation-tutorial'
5758
env:
5859
GITHUB_TOKEN: ${{ github.token }}
5960
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}

0 commit comments

Comments
 (0)