Skip to content

Commit

Permalink
Merge pull request #26 from byu-oit/node16-and-deps
Browse files Browse the repository at this point in the history
Run using Node.js 16, bump NPM & GHA deps
  • Loading branch information
GaryGSC authored Nov 2, 2022
2 parents 93a7429 + 6c054f8 commit 1cd00ec
Show file tree
Hide file tree
Showing 9 changed files with 24,431 additions and 20,729 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,4 @@
"es6": true,
"jest/globals": true
}
}
}
21 changes: 12 additions & 9 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,19 @@ on:
- master
- 'v*'
env:
node_version: "12.x"
node_version: "16.x"

jobs:
build: # make sure build/ci work properly
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
node-version: ${{ env.node_version }}
cache: yarn

- name: yarn install
run: yarn install
Expand All @@ -32,12 +33,13 @@ jobs:
name: Audit
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Set up Node.js
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
node-version: ${{ env.node_version }}
cache: yarn

- name: yarn audit
run: yarn audit --level critical [[ $? -ge 16 ]] && exit 1 || exit 0 # this last part is needed because yarn audit returns a non-0 code if any vulnerabilities are found
Expand All @@ -46,12 +48,13 @@ jobs:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Set up Node.js
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
node-version: ${{ env.node_version }}
cache: yarn

- name: yarn install
run: yarn install
Expand All @@ -63,10 +66,10 @@ jobs:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Set up Node.js
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
node-version: ${{ env.node_version }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
# name: Test
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v1
# - uses: actions/checkout@v3
# - name: CodeDeploy
# uses: ./
# with:
Expand Down
2 changes: 1 addition & 1 deletion action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ inputs:
description: 'Appspec file'
required: true
runs:
using: 'node12'
using: 'node16'
main: 'dist/index.js'
Loading

0 comments on commit 1cd00ec

Please sign in to comment.