Skip to content

Commit

Permalink
deps: upgrading @actions/github to 6.0.0 (#65)
Browse files Browse the repository at this point in the history
* deps: upgrading @actions/github to 6.0.0 which included a pretty big re-write

* 2.6.0
  • Loading branch information
shmam authored Jun 24, 2024
1 parent 92d23e2 commit a32db49
Show file tree
Hide file tree
Showing 18 changed files with 85,848 additions and 71,749 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4

- name: create a deployment
uses: npm/action-deploy@v2.1.1
uses: npm/action-deploy@v2.6.0
id: create-deployment
with:
type: create
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,17 @@ jobs:
build: # make sure build/ci work properly
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
- run: |
npm install
npm run all
test: # make sure the action works on a clean machine without building
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
- uses: ./
name: Delete all deployments
with:
Expand Down
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
lts/iron
21 changes: 21 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "Jest watch current file",
"program": "${workspaceFolder}/node_modules/jest/bin/jest",
"args": [
"${fileBasename}",
"--no-cache",
"--verbose",
"--config",
"${workspaceFolder}/jest.config.js",
],
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen",
"runtimeVersion": "20"
}
]
}
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,6 @@ inputs:
required: false
description: Sha of the deployment
runs:
using: 'node12'
using: 'node20'
main: 'dist/main/index.js'
post: 'dist/post/index.js'
70,844 changes: 39,240 additions & 31,604 deletions dist/main/index.js

Large diffs are not rendered by default.

70,665 changes: 39,148 additions & 31,517 deletions dist/post/index.js

Large diffs are not rendered by default.

14 changes: 7 additions & 7 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
module.exports = {
clearMocks: true,
moduleFileExtensions: ['js', 'ts'],
testEnvironment: 'node',
testMatch: ['**/*.test.ts'],
testRunner: 'jest-circus/runner',
moduleFileExtensions: ["js", "ts"],
testEnvironment: "node",
testMatch: ["**/*.test.ts"],
testRunner: "jest-circus/runner",
transform: {
'^.+\\.ts$': 'ts-jest'
"^.+\\.ts$": "ts-jest",
},
verbose: true
}
verbose: true,
};
Loading

0 comments on commit a32db49

Please sign in to comment.