Skip to content

Commit 21f897e

Browse files
dimakiswtrocki
authored andcommitted
fix: adding working-dir for build command to release workflow
1 parent 45f3299 commit 21f897e

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/workflows/build.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
name: PR verification and build
33
on:
44
push:
5-
branches: [ main ]
5+
branches: [ main, test ]
66
paths:
77
- "spectral/**"
88
pull_request:
9-
branches: [ main ]
9+
branches: [ main, test ]
1010
paths:
1111
- "spectral/**"
1212

.github/workflows/release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ jobs:
1616
node-version: 16.3.0
1717
registry-url: "https://registry.npmjs.org"
1818
- run: yarn install
19-
- run: yarn build-for-publish
19+
- working-directory: ./spectral
20+
run: yarn build
2021
- name: Inject slug/short variables
2122
uses: rlespinasse/github-slug-action@v4
2223
- name: Validate Tag

0 commit comments

Comments
 (0)