Skip to content
Merged
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
34 changes: 11 additions & 23 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,34 +11,23 @@ on:

jobs:
build:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
environment: upload

permissions:
id-token: write # Required by Akeyless
contents: write
packages: read
id-token: write # Required by Akeyless
contents: write # Allows semantic-release to create tags
issues: write # Allows semantic-release to comment on issues
pull-requests: write # Allows semantic-release to comment on PRs
packages: read

steps:
- name: Use NodeJS v1
uses: actions/setup-node@v4
- uses: actions/setup-node@v6
with:
node-version: '20'

- name: Import Secrets
id: import-secrets
uses: LanceMcCarthy/akeyless-action@v3
with:
access-id: ${{ secrets.GH_AKEYLESS_ACCESS_ID }}
static-secrets: |
{
"/WebComponents/prod/tokens/GH_TOKEN": "GH_TOKEN",
"/WebComponents/prod/tokens/PROGRESS_NPM_REGISTRY_TOKEN": "NPM_TOKEN"
}
export-secrets-to-environment: false
node-version: '24'

- name: Check out branch
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
fetch-depth: 0 # Fetch all branches

Expand All @@ -50,7 +39,6 @@ jobs:
shell: bash

- name: Publish release
run: npx semantic-release
run: npx --ignore-scripts semantic-release@25.0.2
env:
NPM_TOKEN: ${{ steps.import-secrets.outputs.NPM_TOKEN }}
GH_TOKEN: ${{ steps.import-secrets.outputs.GH_TOKEN }}
GH_TOKEN: ${{ github.token }}
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,19 @@ on:

jobs:
build:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

steps:
- name: Use NodeJS
uses: actions/setup-node@v4
- uses: actions/setup-node@v6
with:
node-version: "20"
node-version: "24"

- name: Check out repository
uses: actions/checkout@v4
uses: actions/checkout@v6

- name: Install modules
run: npm ci --ignore-scripts
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on: workflow_dispatch

jobs:
build:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04

permissions:
id-token: write # Required by Akeyless
Expand All @@ -25,12 +25,11 @@ jobs:
export-secrets-to-environment: false

- name: Check out master
uses: actions/checkout@v3
uses: actions/checkout@v6
with:
ref: master
fetch-depth: 0 # Fetch all branches
token: ${{ steps.import-secrets.outputs.GH_TOKEN }}

- name: Fast-forward master to develop
run: ./tools/release-master

Loading