Skip to content
This repository has been archived by the owner on Dec 19, 2022. It is now read-only.

Commit

Permalink
chore: update to node 14
Browse files Browse the repository at this point in the history
  • Loading branch information
lgou2w committed Aug 1, 2021
1 parent c38de7f commit 794b87c
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 15 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.x]
node-version: [14.x]
steps:
- uses: actions/checkout@v2

Expand All @@ -22,7 +22,7 @@ jobs:
- name: Setup PNPM
uses: pnpm/action-setup@v2
with:
version: 6.7.6
version: 6.x.x
run_install: true

- name: ESLint check
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
FROM node:12-alpine
FROM node:14-alpine
MAINTAINER lgou2w <[email protected]>

RUN apk add --no-cache curl
RUN curl -f https://get.pnpm.io/v6.7.js | node - add --global pnpm
RUN curl -f https://get.pnpm.io/v6.js | node - add --global pnpm

WORKDIR /app
COPY package.json pnpm-lock.yaml /app/
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"author": "lgou2w <[email protected]>",
"license": "Apache-2.0",
"engines": {
"node": ">=12"
"node": ">=14"
},
"scripts": {
"clean": "rimraf dist",
Expand All @@ -25,7 +25,7 @@
"node-cron": "^3.0.0"
},
"devDependencies": {
"@types/node": "^12.20.15",
"@types/node": "^14",
"@types/node-cron": "^2.0.4",
"@typescript-eslint/eslint-plugin": "^4.28.5",
"@typescript-eslint/parser": "^4.28.5",
Expand Down
18 changes: 9 additions & 9 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 794b87c

Please sign in to comment.