Skip to content

Commit

Permalink
feat: change default runtime from node16 to node20
Browse files Browse the repository at this point in the history
BREAKING CHANGE: Update default runtime to node20
  • Loading branch information
remarkablemark committed Sep 4, 2023
1 parent 115f769 commit 6c74cc0
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
16
20
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

```yaml
- name: Setup Code Climate
uses: remarkablemark/setup-codeclimate@v1
uses: remarkablemark/setup-codeclimate@v2

- name: Run Test and Upload Coverage
run: |
Expand All @@ -34,14 +34,14 @@ See [action.yml](action.yml)
```yaml
steps:
- uses: remarkablemark/setup-codeclimate@v1
- uses: remarkablemark/setup-codeclimate@v2
```
**Example:**
```yaml
steps:
- uses: remarkablemark/setup-codeclimate@v1
- uses: remarkablemark/setup-codeclimate@v2
- run: |
cc-test-reporter before-build
npm test
Expand All @@ -57,7 +57,7 @@ steps:
**Optional**: The Code Climate test reporter [version](https://github.com/codeclimate/test-reporter/releases). Defaults to `latest`:

```yaml
- uses: remarkablemark/setup-codeclimate@v1
- uses: remarkablemark/setup-codeclimate@v2
with:
codeclimate-version: 0.11.1
```
Expand All @@ -67,7 +67,7 @@ steps:
**Optional**: The Code Climate test reporter CLI name. Defaults to `cc-test-reporter`):

```yaml
- uses: remarkablemark/setup-codeclimate@v1
- uses: remarkablemark/setup-codeclimate@v2
with:
cli-name: cc-test-reporter
```
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ inputs:
required: false
default: cc-test-reporter
runs:
using: node16
using: node20
main: dist/index.js
branding:
icon: chevrons-up
Expand Down

0 comments on commit 6c74cc0

Please sign in to comment.