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

fix(build): Lift node version #757

Closed
wants to merge 6 commits into from
Closed
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
32 changes: 16 additions & 16 deletions .github/workflows/commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Install Node 16
uses: actions/setup-node@v3
- name: Install Node
uses: actions/setup-node@v4
with:
node-version: 16
node-version-file: .nvmrc
cache: npm
cache-dependency-path: '**/package-lock.json'

Expand All @@ -32,10 +32,10 @@ jobs:
NEXUS_USERNAME: ${{ secrets.NEXUS_USERNAME }}
NEXUS_PASSWORD: ${{ secrets.NEXUS_PASSWORD }}

- uses: actions/setup-java@v3
- uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 17
java-version-file: .java-version

- name: Analyze with SonarCloud
uses: ./sonar-scanner
Expand All @@ -46,12 +46,12 @@ jobs:
verify-dist:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Install Node 16
uses: actions/setup-node@v3
- name: Install Node
uses: actions/setup-node@v4
with:
node-version: 16
node-version-file: .nvmrc
cache: npm
cache-dependency-path: '**/package-lock.json'

Expand Down Expand Up @@ -79,7 +79,7 @@ jobs:
needs:
- verify-dist
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0

Expand Down Expand Up @@ -147,13 +147,13 @@ jobs:
needs:
- verify-dist
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Install Java
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: adopt
java-version: 11
distribution: temurin
java-version-file: .java-version

- name: Run Maven (no POM)
uses: ./maven
Expand Down Expand Up @@ -250,7 +250,7 @@ jobs:
- acceptance-windows
- acceptance-linux
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Setup Python
uses: actions/setup-python@v2
uses: actions/setup-python@v5

- name: Run pre-commit
uses: pre-commit/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
commitlint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
fetch-depth: 0

Expand Down
1 change: 1 addition & 0 deletions .java-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
17
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
16
20
2 changes: 1 addition & 1 deletion binary-auth-attestation/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,5 +47,5 @@ inputs:
The account key should be a base64 encoded JSON key stored as a secret.
required: true
runs:
using: node16
using: node20
main: dist/index.js
2 changes: 1 addition & 1 deletion cloud-deploy/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@ inputs:
required: false
default: if-missing
runs:
using: node16
using: node20
main: dist/index.js
2 changes: 1 addition & 1 deletion cloud-run-traffic/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,5 @@ inputs:
required: false
default: '100'
runs:
using: node16
using: node20
main: dist/index.js
2 changes: 1 addition & 1 deletion cloud-run/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,5 +47,5 @@ inputs:
required: false
default: 'false'
runs:
using: node16
using: node20
main: dist/index.js
2 changes: 1 addition & 1 deletion component-tests/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ inputs:
description: Url that will be pinged
required: true
runs:
using: node16
using: node20
main: dist/index.js
2 changes: 1 addition & 1 deletion conventional-release/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@ outputs:
release-changelog:
description: The latest release change log
runs:
using: node16
using: node20
main: dist/index.js
2 changes: 1 addition & 1 deletion conventional-version/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,5 @@ outputs:
Develop=<version>-<branch-name-friendly>-<build-number>-<short-sha>,
Feature=<version>-<branch-name-friendly>-<short-sha>
runs:
using: node16
using: node20
main: dist/index.js
2 changes: 1 addition & 1 deletion customer-config/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ inputs:
required: false
default: 'false'
runs:
using: node16
using: node20
main: dist/index.js
2 changes: 1 addition & 1 deletion dataflow-deploy/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,5 +55,5 @@ inputs:
The maximum number of workers to run.
required: false
runs:
using: node16
using: node20
main: dist/index.js
2 changes: 1 addition & 1 deletion dataflow-template-build/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,5 @@ inputs:
description: The bucket location of the flex template file.
required: true
runs:
using: node16
using: node20
main: dist/index.js
2 changes: 1 addition & 1 deletion docker/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,5 @@ outputs:
imageFullName:
description: 'Full name of the Docker image'
runs:
using: node16
using: node20
main: 'dist/index.js'
2 changes: 1 addition & 1 deletion dora-metrics/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,5 @@ inputs:
The jira project key
required: true
runs:
using: node16
using: node20
main: dist/index.js
2 changes: 1 addition & 1 deletion external-events/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ inputs:
required: false
default: 'false'
runs:
using: node16
using: node20
main: dist/index.js
2 changes: 1 addition & 1 deletion gcp-secret-manager/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ inputs:
```
required: true
runs:
using: node16
using: node20
main: dist/index.js
branding:
icon: 'unlock'
Expand Down
2 changes: 1 addition & 1 deletion iam-test-token/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,5 @@ outputs:
iam-token:
description: The test user's ID token.
runs:
using: node16
using: node20
main: dist/index.js
2 changes: 1 addition & 1 deletion iam/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,5 @@ inputs:
required: false
default: 'false'
runs:
using: node16
using: node20
main: dist/index.js
19 changes: 11 additions & 8 deletions iam/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion iam/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@
"yaml": "^1.8.2"
},
"devDependencies": {
"mock-fs": "^4.11.0"
"mock-fs": "^5.2.0"
}
}
2 changes: 1 addition & 1 deletion identity-token/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ outputs:
identity-token:
description: Identity token
runs:
using: node16
using: node20
main: dist/index.js
2 changes: 1 addition & 1 deletion jira-release/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@ inputs:
description: The semantic version number to create a release for
required: true
runs:
using: node16
using: node20
main: dist/index.js
2 changes: 1 addition & 1 deletion jira-releasenotes/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ inputs:
required: true
default: Release note
runs:
using: node16
using: node20
main: dist/index.js
2 changes: 1 addition & 1 deletion kubernetes/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@ inputs:
required: false
default: 'false'
runs:
using: node16
using: node20
main: dist/index.js
2 changes: 1 addition & 1 deletion maven/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,5 @@ inputs:
description: Working dir to run action from
required: false
runs:
using: node16
using: node20
main: dist/index.js
2 changes: 1 addition & 1 deletion nexus-auth-npm/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@ inputs:
description: Specify if publish config needs to be generated, by default read-only access will be provided
required: false
runs:
using: node16
using: node20
main: dist/index.js
2 changes: 1 addition & 1 deletion opa-policy-test/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@ inputs:
If not provided, the value is read from `cloud-deploy.yaml`.
required: false
runs:
using: node16
using: node20
main: dist/index.js
Loading
Loading