Skip to content

Commit

Permalink
ci: upgrade to node@20 (#542)
Browse files Browse the repository at this point in the history
  • Loading branch information
pozil authored May 14, 2024
1 parent 179966c commit 2d99a75
Show file tree
Hide file tree
Showing 29 changed files with 200 additions and 183 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/auto-assign.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
runs-on: trailheadapps-Ubuntu
steps:
- name: 'Auto-assign issue'
uses: pozil/auto-assign-issue@v1
uses: pozil/auto-assign-issue@v2
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
assignees: ${{ vars.DEFAULT_ISSUE_ASSIGNEE }}
17 changes: 9 additions & 8 deletions .github/workflows/ci-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
steps:
# Checkout the source code
- name: 'Checkout source code'
uses: actions/checkout@v3
uses: actions/checkout@v4

# Install Volta to enforce proper node and package manager versions
- name: 'Install Volta'
Expand All @@ -44,7 +44,7 @@ jobs:
# Cache node_modules to speed up the process
- name: 'Restore node_modules cache'
id: cache-npm
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: node_modules
key: npm-${{ hashFiles('**/package-lock.json') }}
Expand Down Expand Up @@ -92,7 +92,7 @@ jobs:
steps:
- name: 'Fetch Dependabot metadata'
id: dependabot
uses: dependabot/fetch-metadata@v1
uses: dependabot/fetch-metadata@v2

- name: 'Check auto merge conditions'
id: auto-merge
Expand Down Expand Up @@ -122,11 +122,11 @@ jobs:
steps:
# Checkout the source code
- name: 'Checkout source code'
uses: actions/checkout@v3
uses: actions/checkout@v4

# Run PMD scan
- name: 'Run PMD scan'
uses: pmd/pmd-github-action@v1.4.0
uses: pmd/pmd-github-action@v2.0.0
id: pmd
with:
version: '6.55.0'
Expand Down Expand Up @@ -193,8 +193,9 @@ jobs:

# Upload code coverage data
- name: 'Upload code coverage for Apex to Codecov.io'
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
flags: Apex

# Housekeeping
Expand All @@ -208,7 +209,7 @@ jobs:
steps:
# Checkout the source code
- name: 'Checkout source code'
uses: actions/checkout@v3
uses: actions/checkout@v4

# Check for package changes using git diff
- name: 'Check for package changes'
Expand All @@ -225,7 +226,7 @@ jobs:
# Trigger packaging PR workflow
- name: 'Trigger packaging PR workflow if needed'
uses: peter-evans/repository-dispatch@v2
uses: peter-evans/repository-dispatch@v3
if: steps.checkForChanges.outputs.hasChanges == 'true'
with:
token: ${{ secrets.BOT_ACCESS_TOKEN }}
Expand Down
17 changes: 9 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
steps:
# Checkout the source code
- name: 'Checkout source code'
uses: actions/checkout@v3
uses: actions/checkout@v4

# Install Volta to enforce proper node and package manager versions
- name: 'Install Volta'
Expand All @@ -27,7 +27,7 @@ jobs:
# Cache node_modules to speed up the process
- name: 'Restore node_modules cache'
id: cache-npm
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: node_modules
key: npm-${{ hashFiles('**/package-lock.json') }}
Expand Down Expand Up @@ -67,11 +67,11 @@ jobs:
steps:
# Checkout the source code
- name: 'Checkout source code'
uses: actions/checkout@v3
uses: actions/checkout@v4

# Run PMD scan
- name: 'Run PMD scan'
uses: pmd/pmd-github-action@v1.4.0
uses: pmd/pmd-github-action@v2.0.0
id: pmd
with:
version: '6.55.0'
Expand Down Expand Up @@ -132,8 +132,9 @@ jobs:

# Upload code coverage data
- name: 'Upload code coverage for Apex to Codecov.io'
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
flags: Apex

# Housekeeping
Expand All @@ -147,7 +148,7 @@ jobs:
steps:
# Checkout the code
- name: 'Checkout source code'
uses: actions/checkout@v3
uses: actions/checkout@v4

# Fetch history
- name: 'Fetch history'
Expand All @@ -167,7 +168,7 @@ jobs:
steps:
# Checkout the source code
- name: 'Checkout source code'
uses: actions/checkout@v3
uses: actions/checkout@v4

# Check for package changes using git diff
- name: 'Check for package changes'
Expand All @@ -184,7 +185,7 @@ jobs:
# Trigger packaging workflow if needed
- name: 'Trigger packaging workflow if needed'
uses: peter-evans/repository-dispatch@v2
uses: peter-evans/repository-dispatch@v3
if: steps.checkForChanges.outputs.hasChanges == 'true'
with:
token: ${{ secrets.BOT_ACCESS_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/packaging-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
# Checkout the source code
- name: 'Checkout source code'
uses: actions/checkout@v3
uses: actions/checkout@v4

# Store secret for dev hub
- name: 'Populate auth file with DEVHUB_SFDX_URL secret'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/packaging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
# Checkout the source code
- name: 'Checkout source code'
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{ github.event.client_payload.ref }}

Expand Down Expand Up @@ -84,7 +84,7 @@ jobs:
# Create PR for new package version
- name: 'Create PR for new package version'
id: create-pr
uses: peter-evans/create-pull-request@v4
uses: peter-evans/create-pull-request@v6
with:
title: 'Released new package version ${{ steps.createPackageVersion.outputs.packageVersionId }}'
body: 'Released new package version ${{ steps.createPackageVersion.outputs.packageVersionId }}'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,26 +27,26 @@ Constructor that sets class variables based on Trigger context vars
---
## Fields

### `private circuitBreaker``Exception`
### `private triggerNew``List<Account>`

`TESTVISIBLE`

### `protected context``TriggerContext`
### `private triggerOld``List<Account>`

*Inherited*
`TESTVISIBLE`

### `private triggerMapNew``Map<Id,Account>`


### `private triggerMapOld``Map<Id,Account>`


### `private triggerNew``List<Account>`
### `private circuitBreaker``Exception`

`TESTVISIBLE`

### `private triggerOld``List<Account>`
### `protected context``TriggerContext`

*Inherited*
`TESTVISIBLE`

---
## Methods
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ https://sfdc.co/batch_interface

## Fields

### `private successes``List<Id>`


### `private failures``List<Id>`


Expand All @@ -28,9 +31,6 @@ https://sfdc.co/batch_interface

`TESTVISIBLE`

### `private successes``List<Id>`


### `private throwError``Boolean`

`TESTVISIBLE`
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# CsvData
## Fields

### `public Email``String`


### `public FirstName``String`


### `public LastName``String`


### `public Email``String`


---
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ Demonstrates how to use different encryption and signing algorithms in Apex
### `public AES_KEY``Blob`


### `public DIGITAL_SIGNATURE_PRIVATE_KEY``Blob`
### `public HMAC_KEY``Blob`


### `public DIGITAL_SIGNATURE_PUBLIC_KEY``Blob`
### `public DIGITAL_SIGNATURE_PRIVATE_KEY``Blob`


### `public HMAC_KEY``Blob`
### `public DIGITAL_SIGNATURE_PUBLIC_KEY``Blob`


---
Expand Down Expand Up @@ -380,11 +380,11 @@ Comparisons which involve cryptography need to be performed in constant time usi
## Enums
### AESAlgorithm

### DigitalSignatureAlgorithm
### HashAlgorithm

### HMACAlgorithm

### HashAlgorithm
### DigitalSignatureAlgorithm

---
## Classes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -166,10 +166,10 @@ Useful for bulk-creating files and linking them.

#### Properties

##### `public attachedTo``Id`
##### `public fileContents``Blob`


##### `public fileContents``Blob`
##### `public attachedTo``Id`


##### `public fileName``String`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,23 +59,23 @@ constructor for ClassData that accepts an ApexClass object
---
#### Fields

##### `public apiVersion``Decimal`
##### `public name``String`

`AURAENABLED`

##### `public body``String`
##### `public apiVersion``Decimal`

`AURAENABLED`

##### `public groupName``String`
##### `public body``String`

`AURAENABLED`

##### `public lengthWithoutComments``Integer`

`AURAENABLED`

##### `public name``String`
##### `public groupName``String`

`AURAENABLED`

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,16 @@ System.debug(results.output);

---
## Classes
### InvocableMethodRecipesException

Internal custom exception class


**Inheritance**

InvocableMethodRecipesException


### ContactSearchRequest

inner class that represents an incoming search request
Expand Down Expand Up @@ -80,14 +90,4 @@ Constructor building output object from SObject

---

### InvocableMethodRecipesException

Internal custom exception class


**Inheritance**

InvocableMethodRecipesException


---
Original file line number Diff line number Diff line change
Expand Up @@ -508,23 +508,6 @@ Public custom exception class
IterableApiException


### RecordPage

Public class used for JSON deserialization of record page response

#### Fields

##### `private records``List&lt;String&gt;`


##### `private totalRecordCount``Integer`


---
#### Methods
##### `public List&lt;String&gt; getRecords()`
---

### RecordPageIterator

Custom Iterator used to navigate IterableApiClient responses as RecordPage.
Expand Down Expand Up @@ -556,4 +539,21 @@ It uses IterableApiClient to perform REST requests to load the record pages.
##### `public RecordPage next()`
---

### RecordPage

Public class used for JSON deserialization of record page response

#### Fields

##### `private records``List&lt;String&gt;`


##### `private totalRecordCount``Integer`


---
#### Methods
##### `public List&lt;String&gt; getRecords()`
---

---
Loading

0 comments on commit 2d99a75

Please sign in to comment.