diff --git a/.github/workflows/cast_deployment.yaml b/.github/workflows/cast_deployment.yaml index 1d46f47cb932..85a076bf0049 100644 --- a/.github/workflows/cast_deployment.yaml +++ b/.github/workflows/cast_deployment.yaml @@ -9,7 +9,6 @@ on: - master env: - NODE_VERSION: 16 NODE_OPTIONS: --max_old_space_size=6144 jobs: @@ -26,10 +25,10 @@ jobs: with: ref: dev - - name: Set up Node ${{ env.NODE_VERSION }} + - name: Setup Node uses: actions/setup-node@v3.6.0 with: - node-version: ${{ env.NODE_VERSION }} + node-version-file: ".nvmrc" cache: yarn - name: Install dependencies @@ -62,10 +61,10 @@ jobs: with: ref: master - - name: Set up Node ${{ env.NODE_VERSION }} + - name: Setup Node uses: actions/setup-node@v3.6.0 with: - node-version: ${{ env.NODE_VERSION }} + node-version-file: ".nvmrc" cache: yarn - name: Install dependencies diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index fe16a8df7d30..e73c4f7a1e21 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -11,7 +11,6 @@ on: - master env: - NODE_VERSION: 16 NODE_OPTIONS: --max_old_space_size=6144 GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -26,10 +25,10 @@ jobs: steps: - name: Check out files from GitHub uses: actions/checkout@v3.5.2 - - name: Set up Node ${{ env.NODE_VERSION }} + - name: Setup Node uses: actions/setup-node@v3.6.0 with: - node-version: ${{ env.NODE_VERSION }} + node-version-file: ".nvmrc" cache: yarn - name: Install dependencies run: yarn install --immutable @@ -49,10 +48,10 @@ jobs: steps: - name: Check out files from GitHub uses: actions/checkout@v3.5.2 - - name: Set up Node ${{ env.NODE_VERSION }} + - name: Setup Node uses: actions/setup-node@v3.6.0 with: - node-version: ${{ env.NODE_VERSION }} + node-version-file: ".nvmrc" cache: yarn - name: Install dependencies run: yarn install --immutable @@ -67,10 +66,10 @@ jobs: steps: - name: Check out files from GitHub uses: actions/checkout@v3.5.2 - - name: Set up Node ${{ env.NODE_VERSION }} + - name: Setup Node uses: actions/setup-node@v3.6.0 with: - node-version: ${{ env.NODE_VERSION }} + node-version-file: ".nvmrc" cache: yarn - name: Install dependencies run: yarn install --immutable @@ -85,10 +84,10 @@ jobs: steps: - name: Check out files from GitHub uses: actions/checkout@v3.5.2 - - name: Set up Node ${{ env.NODE_VERSION }} + - name: Setup Node uses: actions/setup-node@v3.6.0 with: - node-version: ${{ env.NODE_VERSION }} + node-version-file: ".nvmrc" cache: yarn - name: Install dependencies run: yarn install --immutable diff --git a/.github/workflows/demo_deployment.yaml b/.github/workflows/demo_deployment.yaml index 07eb7c900d9c..cddec2a1281c 100644 --- a/.github/workflows/demo_deployment.yaml +++ b/.github/workflows/demo_deployment.yaml @@ -10,7 +10,6 @@ on: - master env: - NODE_VERSION: 16 NODE_OPTIONS: --max_old_space_size=6144 jobs: @@ -27,10 +26,10 @@ jobs: with: ref: dev - - name: Set up Node ${{ env.NODE_VERSION }} + - name: Setup Node uses: actions/setup-node@v3.6.0 with: - node-version: ${{ env.NODE_VERSION }} + node-version-file: ".nvmrc" cache: yarn - name: Install dependencies @@ -63,10 +62,10 @@ jobs: with: ref: master - - name: Set up Node ${{ env.NODE_VERSION }} + - name: Setup Node uses: actions/setup-node@v3.6.0 with: - node-version: ${{ env.NODE_VERSION }} + node-version-file: ".nvmrc" cache: yarn - name: Install dependencies diff --git a/.github/workflows/design_deployment.yaml b/.github/workflows/design_deployment.yaml index 821b6ae9a768..62478e741ace 100644 --- a/.github/workflows/design_deployment.yaml +++ b/.github/workflows/design_deployment.yaml @@ -6,7 +6,6 @@ on: - cron: "0 0 * * *" env: - NODE_VERSION: 16 NODE_OPTIONS: --max_old_space_size=6144 jobs: @@ -19,10 +18,10 @@ jobs: - name: Check out files from GitHub uses: actions/checkout@v3.5.2 - - name: Set up Node ${{ env.NODE_VERSION }} + - name: Setup Node uses: actions/setup-node@v3.6.0 with: - node-version: ${{ env.NODE_VERSION }} + node-version-file: ".nvmrc" cache: yarn - name: Install dependencies diff --git a/.github/workflows/design_preview.yaml b/.github/workflows/design_preview.yaml index e8d39053c1a3..59f487a4b622 100644 --- a/.github/workflows/design_preview.yaml +++ b/.github/workflows/design_preview.yaml @@ -11,7 +11,6 @@ on: - dev env: - NODE_VERSION: 16 NODE_OPTIONS: --max_old_space_size=6144 jobs: @@ -24,10 +23,10 @@ jobs: - name: Check out files from GitHub uses: actions/checkout@v3.5.2 - - name: Set up Node ${{ env.NODE_VERSION }} + - name: Setup Node uses: actions/setup-node@v3.6.0 with: - node-version: ${{ env.NODE_VERSION }} + node-version-file: ".nvmrc" cache: yarn - name: Install dependencies diff --git a/.github/workflows/nightly.yaml b/.github/workflows/nightly.yaml index 455d4184439d..aeb820a8d4dc 100644 --- a/.github/workflows/nightly.yaml +++ b/.github/workflows/nightly.yaml @@ -7,7 +7,6 @@ on: env: PYTHON_VERSION: "3.10" - NODE_VERSION: 16 NODE_OPTIONS: --max_old_space_size=6144 permissions: @@ -28,10 +27,10 @@ jobs: with: python-version: ${{ env.PYTHON_VERSION }} - - name: Set up Node ${{ env.NODE_VERSION }} + - name: Setup Node uses: actions/setup-node@v3.6.0 with: - node-version: ${{ env.NODE_VERSION }} + node-version-file: ".nvmrc" cache: yarn - name: Install dependencies diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 4675b383ff82..0766eb857f74 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -7,7 +7,6 @@ on: env: PYTHON_VERSION: "3.10" - NODE_VERSION: 16 NODE_OPTIONS: --max_old_space_size=6144 # Set default workflow permissions @@ -34,10 +33,10 @@ jobs: with: python-version: ${{ env.PYTHON_VERSION }} - - name: Set up Node ${{ env.NODE_VERSION }} + - name: Setup Node uses: actions/setup-node@v3.6.0 with: - node-version: ${{ env.NODE_VERSION }} + node-version-file: ".nvmrc" cache: yarn - name: Install dependencies diff --git a/.github/workflows/translations.yaml b/.github/workflows/translations.yaml index e7e7f789cafa..38bcdc8071bd 100644 --- a/.github/workflows/translations.yaml +++ b/.github/workflows/translations.yaml @@ -7,9 +7,6 @@ on: paths: - src/translations/en.json -env: - NODE_VERSION: 16 - jobs: upload: name: Upload @@ -21,5 +18,4 @@ jobs: - name: Upload Translations run: | export LOKALISE_TOKEN="${{ secrets.LOKALISE_TOKEN }}" - ./script/translations_upload_base