Skip to content

Commit

Permalink
Merge pull request #369 from mackerelio/update-nodejs-20
Browse files Browse the repository at this point in the history
Update node.js runtime to 20
  • Loading branch information
Arthur1 authored Mar 5, 2024
2 parents 96a1aaf + a9c1987 commit 6148204
Show file tree
Hide file tree
Showing 6 changed files with 4,490 additions and 16,969 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/test-with-repository.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: 'test with repository'
name: "test with repository"
on:
workflow_dispatch:

Expand All @@ -16,14 +16,17 @@ jobs:
build-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
repository: mackerelio/mkr
path: var/mkr
fetch-depth: 0

- uses: actions/setup-node@v4
with:
node-version: 20.x
- run: |
npm ci
- run: |
Expand Down
9 changes: 6 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,19 @@
name: 'build-test'
name: "build-test"
on: # rebuild any PRs and main branch changes
pull_request:
push:
branches:
- main
- 'releases/*'
- "releases/*"

jobs:
build-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20.x
- run: |
npm ci
- run: |
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/update-dist-pr.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: 'Update dist/'
name: "Update dist/"
on:
push:
branches:
Expand All @@ -8,7 +8,10 @@ jobs:
update-dist:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20.x
- run: |
npm ci
- run: |
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@ inputs:
required: false
description: '[DEBUG] Override github.repository'
runs:
using: 'node12'
using: 'node20'
main: 'dist/index.js'
Loading

0 comments on commit 6148204

Please sign in to comment.