Skip to content

Commit

Permalink
Merge pull request #35 from GrantBirki/node2-
Browse files Browse the repository at this point in the history
upgrade to node20
  • Loading branch information
GrantBirki committed Sep 13, 2023
2 parents 1652fde + c96730f commit 3add42f
Show file tree
Hide file tree
Showing 11 changed files with 315 additions and 286 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/acceptance-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
runs-on: ubuntu-latest
steps:
# Need to checkout for testing the Action in this repo
- uses: actions/checkout@v3
- uses: actions/checkout@v4

# creates invalid files that are excluded by git and should not fail
- name: invalid file creation
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:

steps:
- name: checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: setup node
uses: actions/setup-node@v3.6.0
uses: actions/setup-node@v3
with:
node-version-file: .node-version
cache: 'npm'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/package-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: setup node
uses: actions/setup-node@v3.6.0
uses: actions/setup-node@v3
with:
node-version-file: .node-version
cache: 'npm'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: setup node
uses: actions/setup-node@v3.6.0
uses: actions/setup-node@v3
with:
node-version-file: .node-version
cache: 'npm'
Expand Down
2 changes: 1 addition & 1 deletion .node-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
18.9.0
20.6.0
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,5 +85,5 @@ outputs:
success:
description: Whether or not the validation was successful for all files - "true" or "false"
runs:
using: "node16"
using: "node20"
main: "dist/index.js"
61 changes: 36 additions & 25 deletions dist/index.js

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

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions docs/acceptance-test-results.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ package-lock.json is valid
package.json is valid
dist/schema.json is valid
skipping due to exclude match: tmp/invalid.json
skipping due to exclude match: __tests__/fixtures/schemas/challenge.json
skipping due to exclude match: __tests__/fixtures/schemas/schema1.json
skipping due to exclude match: __tests__/fixtures/schemas/schema2.json
skipping due to exclude match: __tests__/fixtures/json/invalid/json1.json
Expand All @@ -26,6 +27,7 @@ skipping due to exclude match: tmp/invalid.yaml
.github/workflows/test.yml is valid
skipping due to exclude match: __tests__/fixtures/schemas/schema1.yaml
skipping due to exclude match: __tests__/fixtures/schemas/schema2.yml
skipping due to exclude match: __tests__/fixtures/real_world/challenges/challenge.yml
skipping due to exclude match: __tests__/fixtures/yaml/invalid/skip-bad.yaml
skipping due to exclude match: __tests__/fixtures/yaml/invalid/yaml1.yaml
skipping due to exclude match: __tests__/fixtures/yaml/mixture/yaml1.yaml
Expand Down
Loading

0 comments on commit 3add42f

Please sign in to comment.