Skip to content

Commit

Permalink
chore: update Node.js version to v16 (#96)
Browse files Browse the repository at this point in the history
  • Loading branch information
fossamagna authored Sep 4, 2023
1 parent 3aa0438 commit 165e0f2
Show file tree
Hide file tree
Showing 6 changed files with 52 additions and 14,786 deletions.
6 changes: 3 additions & 3 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Node.js & TypeScript",
"image": "mcr.microsoft.com/devcontainers/typescript-node:14-bullseye",
"image": "mcr.microsoft.com/devcontainers/typescript-node:16-bullseye",

// Features to add to the dev container. More info: https://containers.dev/features.
// "features": {},
Expand All @@ -11,11 +11,11 @@
"source=try-node-node_modules,target=${containerWorkspaceFolder}/node_modules,type=volume"
],
// Use 'postCreateCommand' to run commands after the container is created.
// "postCreateCommand": "yarn install",
"postCreateCommand": "sudo chown node:node node_modules",

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

// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
// "remoteUser": "root"
"remoteUser": "node"
}
6 changes: 3 additions & 3 deletions .github/workflows/DEPLOY.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: 14.x
- name: Use the latest npm
run: npm i -g npm
node-version-file: ".nvmrc"
- name: Use npm
run: corepack enable npm
- name: Run npm install
run: npm ci
- name: Run Build App
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/TEST.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: 14.x
- name: Use the latest npm
run: npm i -g npm
node-version-file: ".nvmrc"
- name: Use npm
run: corepack enable npm
- name: Run npm install
run: npm ci
- name: Run npm test
Expand Down
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v16.20.2
Loading

0 comments on commit 165e0f2

Please sign in to comment.