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
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: 16.x
node-version: 22.x

- name: Install dependencies
run: |
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
runs-on: ubuntu-latest
needs: [authorize]
permissions:
id-token: write # Required for OIDC
id-token: write # Required for OIDC (AWS + npm Trusted Publishing)
contents: write
env:
GIT_AUTHOR_NAME: amplitude-sdk-bot
Expand All @@ -61,7 +61,7 @@ jobs:
fetch-depth: 0

- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v1
uses: aws-actions/configure-aws-credentials@v2
with:
role-to-assume: arn:aws:iam::358203115967:role/github-actions-role
aws-region: us-west-2
Expand All @@ -81,7 +81,7 @@ jobs:
run: pip install boto3==1.14.63

- name: Setup Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}

Expand All @@ -91,6 +91,7 @@ jobs:
- name: Run tests
run: make test

# npm auth via OIDC (Trusted Publishing); no NPM_TOKEN needed when package has Trusted Publisher on npmjs.com
- name: Release --dry-run # Uses release.config.js
if: ${{ github.event.inputs.releaseType == 'dry-run' }}
env:
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
"@semantic-release/changelog": "^6.0.2",
"@semantic-release/exec": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"@semantic-release/npm": "^13.0.0",
"chai": "^4.3.7",
"chokidar-cli": "^3.0.0",
"date-fns": "^2.29.3",
Expand Down
2 changes: 1 addition & 1 deletion release.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module.exports = {
"branches": ["main"],
"branches": ["main", "v8.x"],
"plugins": [
["@semantic-release/commit-analyzer", {
"preset": "angular",
Expand Down
Loading