Skip to content

Commit a32db49

Browse files
authored
deps: upgrading @actions/github to 6.0.0 (#65)
* deps: upgrading @actions/github to 6.0.0 which included a pretty big re-write * 2.6.0
1 parent 92d23e2 commit a32db49

File tree

18 files changed

+85848
-71749
lines changed

18 files changed

+85848
-71749
lines changed

.github/workflows/deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ jobs:
88
deploy:
99
runs-on: ubuntu-latest
1010
steps:
11-
- uses: actions/checkout@v1
11+
- uses: actions/checkout@v4
1212

1313
- name: create a deployment
14-
uses: npm/action-deploy@v2.1.1
14+
uses: npm/action-deploy@v2.6.0
1515
id: create-deployment
1616
with:
1717
type: create

.github/workflows/test.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,17 @@ jobs:
1010
build: # make sure build/ci work properly
1111
runs-on: ubuntu-latest
1212
steps:
13-
- uses: actions/checkout@v1
13+
- uses: actions/checkout@v4
14+
- uses: actions/setup-node@v4
15+
with:
16+
node-version-file: '.nvmrc'
1417
- run: |
1518
npm install
1619
npm run all
1720
test: # make sure the action works on a clean machine without building
1821
runs-on: ubuntu-latest
1922
steps:
20-
- uses: actions/checkout@v1
23+
- uses: actions/checkout@v4
2124
- uses: ./
2225
name: Delete all deployments
2326
with:

.nvmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
lts/iron

.vscode/launch.json

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"version": "0.2.0",
3+
"configurations": [
4+
{
5+
"type": "node",
6+
"request": "launch",
7+
"name": "Jest watch current file",
8+
"program": "${workspaceFolder}/node_modules/jest/bin/jest",
9+
"args": [
10+
"${fileBasename}",
11+
"--no-cache",
12+
"--verbose",
13+
"--config",
14+
"${workspaceFolder}/jest.config.js",
15+
],
16+
"console": "integratedTerminal",
17+
"internalConsoleOptions": "neverOpen",
18+
"runtimeVersion": "20"
19+
}
20+
]
21+
}

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,6 @@ inputs:
4848
required: false
4949
description: Sha of the deployment
5050
runs:
51-
using: 'node12'
51+
using: 'node20'
5252
main: 'dist/main/index.js'
5353
post: 'dist/post/index.js'

dist/main/index.js

Lines changed: 39240 additions & 31604 deletions
Large diffs are not rendered by default.

dist/post/index.js

Lines changed: 39148 additions & 31517 deletions
Large diffs are not rendered by default.

jest.config.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
module.exports = {
22
clearMocks: true,
3-
moduleFileExtensions: ['js', 'ts'],
4-
testEnvironment: 'node',
5-
testMatch: ['**/*.test.ts'],
6-
testRunner: 'jest-circus/runner',
3+
moduleFileExtensions: ["js", "ts"],
4+
testEnvironment: "node",
5+
testMatch: ["**/*.test.ts"],
6+
testRunner: "jest-circus/runner",
77
transform: {
8-
'^.+\\.ts$': 'ts-jest'
8+
"^.+\\.ts$": "ts-jest",
99
},
10-
verbose: true
11-
}
10+
verbose: true,
11+
};

0 commit comments

Comments
 (0)