Skip to content

Commit

Permalink
update version (#27)
Browse files Browse the repository at this point in the history
* update version

* test fix artifact names

* lower downoload artifact

* update deps

* update deps

* fix lint errors

* Update test.yml

* update deps

---------

Co-authored-by: Nikolay Gagarinov <[email protected]>
  • Loading branch information
dzencot and fey authored May 27, 2024
1 parent e40b957 commit 987b693
Show file tree
Hide file tree
Showing 11 changed files with 6,830 additions and 2,991 deletions.
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

0 comments on commit 987b693

Please sign in to comment.