diff options
author | 2021-11-02 08:38:02 +0530 | |
---|---|---|
committer | 2021-11-02 08:38:02 +0530 | |
commit | 76fd83ed224857b49aa9aa92200e8094859791eb (patch) | |
tree | b843cc553784f7481f5114ef07e86043a1791b3d /.github/workflows/ferdi-builds.yml | |
parent | Update submodules, browserslist data updates and linter fixes [skip ci] (diff) | |
download | ferdium-app-76fd83ed224857b49aa9aa92200e8094859791eb.tar.gz ferdium-app-76fd83ed224857b49aa9aa92200e8094859791eb.tar.zst ferdium-app-76fd83ed224857b49aa9aa92200e8094859791eb.zip |
chore: use specific node version while bumping package version
Diffstat (limited to '.github/workflows/ferdi-builds.yml')
-rw-r--r-- | .github/workflows/ferdi-builds.yml | 7 |
1 files changed, 5 insertions, 2 deletions
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: | |||
47 | submodules: recursive | 47 | submodules: recursive |
48 | fetch-depth: 0 # Note: Needed to be able to pull the 'develop' branch as well for merging | 48 | fetch-depth: 0 # Note: Needed to be able to pull the 'develop' branch as well for merging |
49 | # ssh-key: ${{ secrets.FERDI_PUBLISH_TOKEN }} | 49 | # ssh-key: ${{ secrets.FERDI_PUBLISH_TOKEN }} |
50 | - name: Use Node.js 16.13.0 | ||
51 | uses: actions/setup-node@v2 | ||
52 | if: ${{ github.event_name == 'schedule' || (github.event_name == 'workflow_dispatch' && contains(github.event.inputs.message, '[nightly branch]')) }} | ||
53 | with: | ||
54 | node-version: 16.13.0 | ||
50 | - id: should_run | 55 | - id: should_run |
51 | name: Check whether there are any commits since this run was last triggered and push them and/or set the output | 56 | name: Check whether there are any commits since this run was last triggered and push them and/or set the output |
52 | if: ${{ github.event_name == 'schedule' || (github.event_name == 'workflow_dispatch' && contains(github.event.inputs.message, '[nightly branch]')) }} | 57 | if: ${{ github.event_name == 'schedule' || (github.event_name == 'workflow_dispatch' && contains(github.event.inputs.message, '[nightly branch]')) }} |
@@ -63,8 +68,6 @@ jobs: | |||
63 | # this is a manual trigger with the key-phrase | 68 | # this is a manual trigger with the key-phrase |
64 | git checkout develop | 69 | git checkout develop |
65 | TAG_NAME=$(npm version -m "%s [skip ci]" prerelease --preid=nightly) | 70 | TAG_NAME=$(npm version -m "%s [skip ci]" prerelease --preid=nightly) |
66 | # TODO: With the new lockfile version, this is needed (probably a bug) | ||
67 | npm i | ||
68 | git commit --all --amend --no-edit --no-verify | 71 | git commit --all --amend --no-edit --no-verify |
69 | git push origin develop --no-verify | 72 | git push origin develop --no-verify |
70 | git tag -f $TAG_NAME | 73 | git tag -f $TAG_NAME |