Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debug 2 #29

Closed
wants to merge 9 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@ jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- run: make install
- run: make test
- run: make lint

e2e:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- run: make install
- run: node server.js &
- uses: ./
Expand All @@ -34,9 +34,9 @@ jobs:
needs: e2e
runs-on: ubuntu-latest
steps:
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: test-results
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: test-data
6 changes: 3 additions & 3 deletions __tests__/packageChecker.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ describe('test projects with correct package name', () => {

test.each(verifiableProjects)('%s', (sourceLang) => {
expect(() => checkPackageName(codePath, sourceLang))
.not.toThrowError();
.not.toThrow();
});
});

Expand All @@ -42,7 +42,7 @@ describe('test projects with wrong package name', () => {

test.each(verifiableProjects)('%s', (sourceLang) => {
expect(() => checkPackageName(codePath, sourceLang))
.toThrowError(/^Package name should be .+ instead of wrong-package-name$/);
.toThrow(/^Package name should be .+ instead of wrong-package-name$/);
});
});

Expand All @@ -51,6 +51,6 @@ describe('test not verifiable projects', () => {

test.each(notVerifiableProjects)('%s', (sourceLang) => {
expect(() => checkPackageName(codePath, sourceLang))
.not.toThrowError();
.not.toThrow();
});
});
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ inputs:
default: "/var/tmp"

runs:
using: 'node16'
using: 'node20'
main: 'dist/run-tests/index.js'
post: 'dist/run-post-actions/index.js'
94 changes: 88 additions & 6 deletions dist/run-post-actions/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/run-post-actions/index.js.map

Large diffs are not rendered by default.

94 changes: 88 additions & 6 deletions dist/run-tests/index.js

Large diffs are not rendered by default.

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

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion examples/hexlet-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Hexlet project check
uses: hexlet/project-action@release
Expand Down
Loading
Loading