Skip to content

Commit 1e50a04

Browse files
Rework build-and-test workflow
Previous version of the workflow would result in test failure, because the test job did not work on the most recent version of the generated parser.
1 parent 5b25e50 commit 1e50a04

File tree

1 file changed

+6
-15
lines changed

1 file changed

+6
-15
lines changed

.github/workflows/build-and-test.yml

Lines changed: 6 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77

88

99
jobs:
10-
build:
10+
build-and-test:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- name: Checkout
@@ -17,18 +17,9 @@ jobs:
1717
- run: npm install
1818
- name: Generate
1919
run: npm run generate
20-
- uses: stefanzweifel/git-auto-commit-action@v5
21-
with:
22-
commit_message: "ci: parser"
23-
24-
test:
25-
needs: build
26-
runs-on: ubuntu-latest
27-
steps:
28-
- name: Checkout
29-
uses: actions/checkout@v2
30-
- name: Setup
31-
uses: actions/setup-node@v4
32-
- run: npm install
3320
- name: Test
34-
run: npm run test
21+
run: npm run test
22+
- name: Commit parser changes
23+
uses: stefanzweifel/git-auto-commit-action@v5
24+
with:
25+
commit_message: "ci: parser"

0 commit comments

Comments
 (0)