Skip to content

Commit

Permalink
feat: upgrade to node 18 LTS
Browse files Browse the repository at this point in the history
Signed-off-by: Liam Stanley <me@liamstanley.io>
  • Loading branch information
lrstanley committed Dec 17, 2022
1 parent db628c5 commit a779924
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ jobs:
with:
has-ghcr: true
upload-artifacts: true
node-version: "17.9.0"
node-version: "18.12.1"
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ jobs:
node-test:
uses: lrstanley/.github/.github/workflows/lang-node-test.yml@master
with:
node-version: "17.9.0"
node-version: "18.12.1"
node-package-manager: "pnpm"
node-lint:
uses: lrstanley/.github/.github/workflows/lang-node-lint.yml@master
with:
node-version: "17.9.0"
node-version: "18.12.1"
node-package-manager: "pnpm"
secrets:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# build-node image
FROM node:17 as build-node
FROM node:18 as build-node

COPY . /build/
WORKDIR /build
Expand Down
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ node-fetch:
--global pnpm
cd public; pnpm install --frozen-lockfile --silent

node-upgrade-deps:
cd public && \
pnpm up -i

node-prepare: node-fetch
cd public; pnpm exec openapi \
--input ../internal/handlers/apihandler/openapi_v2.yaml \
Expand Down

0 comments on commit a779924

Please sign in to comment.