Skip to content

Commit 98d9f93

Browse files
authored
Merge pull request #56 from dimakis/fix-build
Fix build
2 parents 140e383 + c49d8d7 commit 98d9f93

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
node-version: 16.3.0
1717
registry-url: "https://registry.npmjs.org"
1818
- run: yarn install
19-
- run: yarn build
19+
- run: yarn build-for-publish
2020
- name: Inject slug/short variables
2121
uses: rlespinasse/github-slug-action@v4
2222
- name: Validate Tag

spectral/.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@ bin/
1111
.nyc_output/
1212
coverage/
1313
.spectral.json
14-
# .spectral.yaml
14+
.spectral.yaml
1515
.spectral.yml
1616
/types

spectral/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
"main": "ruleset.yaml",
77
"scripts": {
88
"build": "npm run clean && tsc && npm run copy-ruleset",
9+
"build-for-publish": "tsc && npm run copy-ruleset && npm run copy-ruleset",
910
"clean": "rm -rf dist",
1011
"lint": "eslint src/**/*.ts",
1112
"publish": "npm publish dist",

0 commit comments

Comments
 (0)