Skip to content

Commit

Permalink
✨ Use Node.js v16 with updated dependencies (#217)
Browse files Browse the repository at this point in the history
* NodeJs 16

* NodeJs 16

* NodeJS 16

* NodeJs16

* NodeJS 16 package update
  • Loading branch information
Rileyjrjohns authored Jun 15, 2023
1 parent b9705c0 commit bde5ff8
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 12
node-version: 16
- name: Install dependencies
run: npm install
- name: Build TypeScript
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/node.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,18 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 12
node-version: 16
- name: Cache node modules
uses: actions/cache@v3
env:
cache-name: cache-node-modules
with:
path: ~/.npm
key: node18-${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
key: node16-${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
node18-${{ runner.os }}-build-${{ env.cache-name }}-
node18-${{ runner.os }}-build-
node18-${{ runner.os }}-
node16-${{ runner.os }}-build-${{ env.cache-name }}-
node16-${{ runner.os }}-build-
node16-${{ runner.os }}-
- name: Install dependencies
run: npm ci
- name: Build TypeScript
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,18 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 12
node-version: 16
- name: Cache node modules
uses: actions/cache@v3
env:
cache-name: cache-node-modules
with:
path: ~/.npm
key: node18-${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
key: node16-${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
node18-${{ runner.os }}-build-${{ env.cache-name }}-
node18-${{ runner.os }}-build-
node18-${{ runner.os }}-
node16-${{ runner.os }}-build-${{ env.cache-name }}-
node16-${{ runner.os }}-build-
node16-${{ runner.os }}-
- name: Install dependencies
run: npm ci
- name: Release
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,15 +45,15 @@
},
"dependencies": {
"@actions/core": "^1.2.7",
"@actions/github": "^4.0.0",
"@actions/github": "^5.1.1",
"@koj/config": "^1.2.11",
"@octokit/rest": "^18.5.2",
"@sindresorhus/slugify": "^1.1.0",
"axios": "^0.21.1",
"dayjs": "^1.10.4",
"fs-extra": "^9.1.0",
"js-yaml": "^4.1.0",
"node-libcurl": "^2.3.2",
"node-libcurl": "^3.0.0",
"nodemailer": "^6.5.0",
"notifme-sdk": "^1.10.0",
"prettier": "^2.2.1",
Expand Down

0 comments on commit bde5ff8

Please sign in to comment.