Skip to content

Commit

Permalink
fix(deps): update action to use node 20 (#79)
Browse files Browse the repository at this point in the history
  • Loading branch information
ManuInNZ authored Jun 16, 2024
1 parent a05bd35 commit a0e51cb
Show file tree
Hide file tree
Showing 9 changed files with 31,007 additions and 6,957 deletions.
48 changes: 48 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/typescript-node
{
"name": "Node.js & TypeScript",
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
"image": "mcr.microsoft.com/devcontainers/typescript-node:1-22-bookworm",

"mounts": [
// {"source":"${localWorkspaceFolder}","target":"/workspace","type":"bind"},
{
"source": "${localEnv:HOME}${localEnv:USERPROFILE}/.ssh",
"target": "/home/node/.ssh",
"type": "bind"
},
{
"source": "${localEnv:HOME}${localEnv:USERPROFILE}/.azure",
"target": "/home/node/.azure",
"type": "bind"
}
],
"customizations": {
"vscode": {
"extensions": [
"GitHub.copilot",
"GitHub.vscode-pull-request-github",
"github.vscode-github-actions",
"vivaxy.vscode-conventional-commits",
"esbenp.prettier-vscode"
]
}
}


// Features to add to the dev container. More info: https://containers.dev/features.
// "features": {},

// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [],

// Use 'postCreateCommand' to run commands after the container is created.
// "postCreateCommand": "yarn install",

// Configure tool-specific properties.
// "customizations": {},

// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
// "remoteUser": "root"
}
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ jobs:
fetch-depth: 0

- name: Setup Node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: '14'
node-version: '20'

- name: Install
run: npm ci
Expand Down
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -103,4 +103,5 @@ typings/
.tern-port

# Ignore built ts files
lib/**/*
lib/**/*
dist/index.js
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@ inputs:
required: true

runs:
using: 'node12'
using: 'node20'
main: 'dist/index.js'
29,791 changes: 27,301 additions & 2,490 deletions dist/index.js

Large diffs are not rendered by default.

Loading

0 comments on commit a0e51cb

Please sign in to comment.