Skip to content

Commit

Permalink
updated node version in workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
imolorhe committed Oct 12, 2024
1 parent 239c569 commit f5259d2
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 20 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/experimental-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
workflow_dispatch:

env:
NODE_VERSION: 18
NODE_VERSION: 22
# NODE_OPTIONS: --openssl-legacy-provider

permissions:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/firebase-hosting-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ name: Deploy to Firebase Hosting on merge
- master

env:
NODE_VERSION: 18
NODE_VERSION: 22
# NODE_OPTIONS: --openssl-legacy-provider

jobs:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/firebase-hosting-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ name: Deploy to Firebase Hosting on PR
'on': pull_request

env:
NODE_VERSION: 18
NODE_VERSION: 22
# NODE_OPTIONS: --openssl-legacy-provider

jobs:
Expand Down
30 changes: 15 additions & 15 deletions .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,27 +6,27 @@ on:
- master

env:
NODE_VERSION: 18
NODE_VERSION: 22
# NODE_OPTIONS: --openssl-legacy-provider

jobs:
translate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v1
with:
node-version: ${{ env.NODE_VERSION }}
- run: yarn --frozen-lockfile --network-timeout 1000000
- run: yarn build:ci
- name: Deploy to translate surge.sh
uses: dswistowski/surge-sh-action@v1
with:
domain: altair-gql-translate.surge.sh
project: ./packages/altair-app/dist
login: ${{ secrets.surge_login }}
token: ${{ secrets.surge_token }}
- uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v1
with:
node-version: ${{ env.NODE_VERSION }}
- run: yarn --frozen-lockfile --network-timeout 1000000
- run: yarn build:ci
- name: Deploy to translate surge.sh
uses: dswistowski/surge-sh-action@v1
with:
domain: altair-gql-translate.surge.sh
project: ./packages/altair-app/dist
login: ${{ secrets.surge_login }}
token: ${{ secrets.surge_token }}
# todo:
# runs-on: ubuntu-latest
# steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
# v*.*.*

env:
NODE_VERSION: 18
NODE_VERSION: 22
# NODE_OPTIONS: --openssl-legacy-provider

jobs:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
workflow_dispatch:

env:
NODE_VERSION: 18
NODE_VERSION: 22
# NODE_OPTIONS: --openssl-legacy-provider

# TODO: Handle browser extension release
Expand Down

0 comments on commit f5259d2

Please sign in to comment.