Skip to content

Commit

Permalink
chore: update node version to current LTS
Browse files Browse the repository at this point in the history
  • Loading branch information
stepan662 committed Nov 12, 2024
1 parent 10721d7 commit 8fabdda
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 26 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/prerelease-alpha.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@ name: Release

on:
push:
branches: [ "tolgee-3" ]
branches: ["tolgee-3"]

jobs:
main:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
token: '${{ secrets.TOLGEE_MACHINE_PAT }}'
token: "${{ secrets.TOLGEE_MACHINE_PAT }}"

- uses: actions/setup-java@v3
with:
Expand All @@ -20,7 +20,7 @@ jobs:
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: "18.x"
node-version: "22.x"

- name: Set git globals
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: "18.x"
node-version: "22.x"

- name: Set git globals
run: |
Expand Down
9 changes: 4 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ name: Release

on:
workflow_run:
workflows: [ "Test" ]
branches: [ "main", "next" ]
workflows: ["Test"]
branches: ["main", "next"]
types:
- completed

Expand All @@ -14,7 +14,7 @@ jobs:
steps:
- uses: actions/checkout@v3
with:
token: '${{ secrets.TOLGEE_MACHINE_PAT }}'
token: "${{ secrets.TOLGEE_MACHINE_PAT }}"

- uses: actions/setup-java@v3
with:
Expand All @@ -24,7 +24,7 @@ jobs:
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: "18.x"
node-version: "22.x"

- name: Set git globals
run: |
Expand Down Expand Up @@ -93,7 +93,6 @@ jobs:
TOLGEE_API_KEY: ${{secrets.TOLGEE_API_KEY}}
working-directory: ./webapp


- uses: actions/upload-artifact@v3
if: always()
with:
Expand Down
17 changes: 8 additions & 9 deletions .github/workflows/reportIntermittentTests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Report intermittent E2E Tests

on:
schedule:
- cron: '42 04 * * *'
- cron: "42 04 * * *"

jobs:
backend-build:
Expand All @@ -19,7 +19,7 @@ jobs:
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: "18.x"
node-version: "22.x"

- name: Cache Gradle packages
uses: actions/cache@v3
Expand Down Expand Up @@ -86,7 +86,7 @@ jobs:
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: "18.x"
node-version: "22.x"

- name: Cache Gradle packages
uses: actions/cache@v3
Expand Down Expand Up @@ -133,7 +133,7 @@ jobs:
./**/build/reports/**/*
e2e:
needs: [ frontend-build, backend-build, e2e-install-deps ]
needs: [frontend-build, backend-build, e2e-install-deps]
runs-on: ubuntu-latest
name: E2E testing ‍🔎
strategy:
Expand All @@ -152,7 +152,7 @@ jobs:
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: "18.x"
node-version: "22.x"

- name: Cache Gradle packages
uses: actions/cache@v3
Expand Down Expand Up @@ -246,7 +246,7 @@ jobs:
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: "18.x"
node-version: "22.x"

- name: Cache node modules
uses: actions/cache@v3
Expand Down Expand Up @@ -275,7 +275,7 @@ jobs:
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: "18.x"
node-version: "22.x"

- name: Cache node modules
uses: actions/cache@v3
Expand Down Expand Up @@ -306,7 +306,7 @@ jobs:
cleanup:
if: always()
needs: [ e2e ]
needs: [e2e]
name: Delete artifacts 🧹
runs-on: ubuntu-latest
steps:
Expand All @@ -316,4 +316,3 @@ jobs:
e2e_deps
webapp
backend
15 changes: 7 additions & 8 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: "18.x"
node-version: "22.x"

- name: Cache Gradle packages
uses: actions/cache@v3
Expand Down Expand Up @@ -89,7 +89,7 @@ jobs:
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: "18.x"
node-version: "22.x"

- name: Cache Gradle packages
uses: actions/cache@v3
Expand Down Expand Up @@ -149,7 +149,6 @@ jobs:
path: "**/build/test-results/**/TEST-*.xml"
reporter: java-junit


e2e:
needs: [frontend-build, backend-build, e2e-install-deps]
runs-on: ubuntu-latest
Expand All @@ -170,7 +169,7 @@ jobs:
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: "18.x"
node-version: "22.x"

- name: Cache Gradle packages
uses: actions/cache@v3
Expand Down Expand Up @@ -284,7 +283,7 @@ jobs:
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: "18.x"
node-version: "22.x"

- name: Cache node modules
uses: actions/cache@v3
Expand Down Expand Up @@ -355,7 +354,7 @@ jobs:
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: "18.x"
node-version: "22.x"

- name: Cache node modules
uses: actions/cache@v3
Expand Down Expand Up @@ -384,7 +383,7 @@ jobs:
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: "18.x"
node-version: "22.x"

- name: Cache node modules
uses: actions/cache@v3
Expand Down Expand Up @@ -427,7 +426,7 @@ jobs:
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: "18.x"
node-version: "22.x"

- name: Cache Gradle packages
uses: actions/cache@v3
Expand Down

0 comments on commit 8fabdda

Please sign in to comment.