Skip to content

Commit

Permalink
Merge pull request #3957 from SuperITMan/feature/upgrade-github-actio…
Browse files Browse the repository at this point in the history
…ns-stark12

Feature/upgrade GitHub actions stark12
  • Loading branch information
SuperITMan authored Dec 19, 2024
2 parents 25d5523 + f8b8161 commit 19019ed
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 15 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ on:

env:
TZ: "Europe/Brussels"
MAIN_NODEJS: "18"
NPM_VERSION: "10.1.0"
MAIN_NODEJS: "20"
NPM_VERSION: "10.x"
LOGS_DIR: /tmp/stark/logs
LOGS_FILE: /tmp/stark/logs/build-perf.log
HUSKY: 0
Expand All @@ -26,7 +26,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
node_version: ["18", "20"]
node_version: ["18", "20", "22"]
os: [ubuntu-latest]

steps:
Expand Down Expand Up @@ -124,7 +124,7 @@ jobs:

# See: https://github.com/marketplace/actions/upload-a-build-artifact
- name: Upload stark packages-dist folder
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: stark-dist
path: dist/packages-dist
Expand All @@ -138,8 +138,9 @@ jobs:
run: node combine-packages-coverage.js
if: env.IS_MAIN_ENVIRONMENT == 1

# See: https://github.com/marketplace/actions/coveralls-github-action
- name: Coveralls
uses: coverallsapp/github-action@master
uses: coverallsapp/github-action@v2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: "combined-lcov.info"
Expand Down Expand Up @@ -179,7 +180,7 @@ jobs:

# See: https://github.com/marketplace/actions/upload-a-build-artifact
- name: Upload showcase dist folder
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: showcase-dist
path: showcase/dist
Expand Down Expand Up @@ -254,13 +255,13 @@ jobs:
touch ${{ env.LOGS_FILE }}
# See: https://github.com/marketplace/actions/download-a-build-artifact
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: stark-dist
path: dist/packages-dist

# See: https://github.com/marketplace/actions/download-a-build-artifact
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: showcase-dist
path: showcase/dist
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/bump-angular-deps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

env:
TZ: "Europe/Brussels"
NPM_VERSION: "10.1.0"
NPM_VERSION: "10.x"
LOGS_DIR: /tmp/stark/logs
LOGS_FILE: /tmp/stark/logs/build-perf.log

Expand All @@ -19,10 +19,10 @@ jobs:
UPDATED_DEPS: 0
steps:
# See: https://github.com/marketplace/actions/setup-node-js-environment
- name: Use Node.js 18
- name: Use Node.js 20
uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20

# See: https://github.com/marketplace/actions/cache
# See doc: https://docs.github.com/en/actions/guides/caching-dependencies-to-speed-up-workflows
Expand Down Expand Up @@ -150,7 +150,7 @@ jobs:
# See: https://github.com/marketplace/actions/create-pull-request
- name: Create Pull Request
uses: peter-evans/create-pull-request@v6
uses: peter-evans/create-pull-request@v7
if: env.UPDATED_DEPS == 1
with:
token: ${{ secrets.NBBBOT_TOKEN }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/dependabot-sync-stark-dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
- completed
env:
TZ: "Europe/Brussels"
NPM_VERSION: "10.1.0"
NPM_VERSION: "10.x"
LOGS_DIR: /tmp/stark/logs
LOGS_FILE: /tmp/stark/logs/build-perf.log

Expand All @@ -23,10 +23,10 @@ jobs:
name: Sync deps
steps:
# See: https://github.com/marketplace/actions/setup-node-js-environment
- name: Use Node.js 18
- name: Use Node.js 20
uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20

# See: https://github.com/marketplace/actions/cache
# See doc: https://docs.github.com/en/actions/guides/caching-dependencies-to-speed-up-workflows
Expand Down

0 comments on commit 19019ed

Please sign in to comment.