Skip to content

Commit

Permalink
Update workflows to Node v20.x; use latest actions
Browse files Browse the repository at this point in the history
  • Loading branch information
BigBlueHat committed Dec 12, 2023
1 parent bf79360 commit 8e259c0
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 8 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/generate-docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,17 @@ jobs:
openapi-build:
name: "Prepare OAS Artifacts"
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x]
steps:

# Check out repo, set up node, and install dependencies.
# @see https://github.com/actions/setup-node#usage
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 16.x
cache: 'npm'
node-version: ${{ matrix.node-version }}
- run: npm i

# Bundle OpenAPI Yaml Files
Expand Down
10 changes: 6 additions & 4 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,17 @@ on:
jobs:
openapi-lint:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x]
steps:

# Check out repo, set up node, and install dependencies.
# @see https://github.com/actions/setup-node#usage
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 16.x
cache: 'npm'
node-version: ${{ matrix.node-version }}
- run: npm i

# Run linter
Expand Down

0 comments on commit 8e259c0

Please sign in to comment.