Skip to content

Commit

Permalink
Merge pull request #68 from funbox/feature/node18
Browse files Browse the repository at this point in the history
Move to Node.js 18
  • Loading branch information
igoradamenko committed Jun 7, 2023
2 parents d20359b + 78d2417 commit 6dbdcde
Show file tree
Hide file tree
Showing 5 changed files with 8,569 additions and 4,170 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,12 @@ jobs:
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm ci

# npm of 14.x is not compatible with lockfileVersion 3, that's why we use `install` here instead of `ci`
- if: matrix.node-version == '14.14'
run: npm install
- if: matrix.node-version != '14.14'
run: npm ci

- run: npm run build --if-present
- run: npm test
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '14.18.0'
node-version: '18.15.0'
registry-url: 'https://registry.npmjs.org'
scope: '@funboxteam'
- run: npm ci
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:14.18.0-buster-slim
FROM node:18.15.0-bullseye-slim
LABEL maintainer="Andrey Warkentin (https://github.com/343dev)"

WORKDIR /app
Expand Down
Loading

0 comments on commit 6dbdcde

Please sign in to comment.