Skip to content
This repository was archived by the owner on Dec 22, 2024. It is now read-only.

Commit 3a45007

Browse files
committed
chore: upgrade to node 18
1 parent 848ec3d commit 3a45007

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

.devcontainer/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# See here for image contents: https://github.com/microsoft/vscode-dev-containers/tree/v0.145.1/containers/typescript-node/.devcontainer/base.Dockerfile
22

3-
ARG VARIANT="16-bullseye"
3+
ARG VARIANT="18-bullseye"
44
FROM mcr.microsoft.com/vscode/devcontainers/typescript-node:0-${VARIANT}
55

66
# [Optional] Uncomment this section to install additional OS packages.

.devcontainer/devcontainer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "react-vite-storybook-typescript-starter",
33
"build": {
44
"dockerfile": "Dockerfile",
5-
"args": { "VARIANT": "16" }
5+
"args": { "VARIANT": "18-bullseye" }
66
},
77

88
// Add the IDs of extensions you want installed when the container is created.

.github/workflows/cd-npm.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,16 @@ jobs:
1313
- name: Checkout repo
1414
uses: actions/checkout@v3
1515
with:
16-
fetch-depth: '0'
16+
fetch-depth: '1'
1717

1818
- name: Configure node for npmjs.org as registry
1919
uses: actions/setup-node@v3
2020
with:
21-
node-version: '16.x'
21+
node-version: '18.x'
2222
registry-url: 'https://registry.npmjs.org'
2323

2424
- name: Install dependencies
25-
run: npm ci
25+
run: npm ci --legacy-peer-deps
2626

2727
- name: Build
2828
run: npm run build

.github/workflows/cd-storybook.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ jobs:
1717
- name: Use nodejs
1818
uses: actions/setup-node@v3
1919
with:
20-
node-version: '16.x'
20+
node-version: '18.x'
2121

2222
- name: Install dependencies
23-
run: npm ci
23+
run: npm ci --legacy-peer-deps
2424

2525
- name: Build storybook
2626
run: npm run build:storybook

.github/workflows/ci.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
runs-on: ${{ matrix.os }}
99
strategy:
1010
matrix:
11-
node: ['14.x', '16.x']
11+
node: ['18.x']
1212
os: [ubuntu-latest, windows-latest, macOS-latest]
1313

1414
steps:
@@ -22,7 +22,7 @@ jobs:
2222
cache: npm
2323

2424
- name: Install dependencies
25-
run: npm ci
25+
run: npm ci --legacy-peer-deps
2626

2727
- name: Check format
2828
run: npm run check:format

0 commit comments

Comments
 (0)