Skip to content

Commit c49d8d7

Browse files
committed
fix: fix for build
1 parent 6760cab commit c49d8d7

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
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: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
{
22
"name": "@rhoas/spectral-ruleset",
3-
"version": "0.2.0dev",
3+
"version": "0.2.0-dev",
44
"description": "Spectral ruleset",
55
"private": false,
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)