Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/upgrade GitHub actions stark12 #3957

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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