From 76fd83ed224857b49aa9aa92200e8094859791eb Mon Sep 17 00:00:00 2001 From: Vijay A Date: Tue, 2 Nov 2021 08:38:02 +0530 Subject: chore: use specific node version while bumping package version --- .github/workflows/ferdi-builds.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to '.github/workflows') diff --git a/.github/workflows/ferdi-builds.yml b/.github/workflows/ferdi-builds.yml index 7c457eda4..ccd520fa5 100644 --- a/.github/workflows/ferdi-builds.yml +++ b/.github/workflows/ferdi-builds.yml @@ -47,6 +47,11 @@ jobs: submodules: recursive fetch-depth: 0 # Note: Needed to be able to pull the 'develop' branch as well for merging # ssh-key: ${{ secrets.FERDI_PUBLISH_TOKEN }} + - name: Use Node.js 16.13.0 + uses: actions/setup-node@v2 + if: ${{ github.event_name == 'schedule' || (github.event_name == 'workflow_dispatch' && contains(github.event.inputs.message, '[nightly branch]')) }} + with: + node-version: 16.13.0 - id: should_run name: Check whether there are any commits since this run was last triggered and push them and/or set the output if: ${{ github.event_name == 'schedule' || (github.event_name == 'workflow_dispatch' && contains(github.event.inputs.message, '[nightly branch]')) }} @@ -63,8 +68,6 @@ jobs: # this is a manual trigger with the key-phrase git checkout develop TAG_NAME=$(npm version -m "%s [skip ci]" prerelease --preid=nightly) - # TODO: With the new lockfile version, this is needed (probably a bug) - npm i git commit --all --amend --no-edit --no-verify git push origin develop --no-verify git tag -f $TAG_NAME -- cgit v1.2.3-54-g00ecf