Skip to content

Commit

Permalink
github action node 15=>16
Browse files Browse the repository at this point in the history
  • Loading branch information
boly38 committed Jan 23, 2022
1 parent 78d30a7 commit dfb6623
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 8 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/audit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
strategy:
matrix:
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
node-version: [15.x]
node-version: [16.x]

steps:
- name: Checkout code
Expand All @@ -30,7 +30,11 @@ jobs:
- name: Install dependencies
# - run: npm ci # need package.json.lock
run: npm install
run: |
echo "install"
npm install
echo "show outdated (if any)"
npm outdated --depth=3 || echo "you must think about update your dependencies :)"
- name: Npm audit
uses: oke-py/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
strategy:
matrix:
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
node-version: [15.x]
node-version: [16.x]

steps:
- name: Checkout code
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/minor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [15.x]
node-version: [16.x]

steps:
- name: Git checkout
Expand All @@ -22,9 +22,6 @@ jobs:
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
cache-dependency-path: |
package-lock.json

- name: Minor
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/patch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [15.x]
node-version: [16.x]

steps:
- name: Git checkout
Expand Down

0 comments on commit dfb6623

Please sign in to comment.