Skip to content

Commit

Permalink
upgraded the CI/CD support from 15.x to 16.x
Browse files Browse the repository at this point in the history
  • Loading branch information
mw866 committed Aug 8, 2021
1 parent a0d23d9 commit 6f9c109
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v1
with:
node-version: '15.13.0'
node-version: '16'
- run: npm ci
- run: npm test
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node: [ '12', '13', '14', '15']
node: [ '12', '13', '14', '15', '16']
name: Buid on Node ${{ matrix.node }}
steps:
- uses: actions/checkout@v2
Expand All @@ -25,7 +25,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '15.x'
node-version: '16.x'
registry-url: 'https://registry.npmjs.org'
- run: npm publish
env:
Expand Down
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -116,4 +116,7 @@ dist
.pnp.*

# certificate file
.pem
.pem

# MacOS file
.DS_Store
7 changes: 4 additions & 3 deletions package-lock.json

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

6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mw866/petstore-api",
"version": "1.0.5",
"version": "1.0.6",
"description": "This is a Petstore API service built on Node.",
"author": "Chris Wang <dev@chriswang.tech> (https://chriswang.tech/)",
"main": "index.js",
Expand All @@ -25,5 +25,9 @@
"chai": "^4.3.4",
"chai-http": "^4.3.0",
"mocha": "^8.3.2"
},
"engines": {
"node": "16.x",
"npm": "7.x"
}
}

0 comments on commit 6f9c109

Please sign in to comment.