Skip to content
This repository has been archived by the owner on Jul 15, 2024. It is now read-only.

Commit

Permalink
Ensure to transpile typescript before used
Browse files Browse the repository at this point in the history
  • Loading branch information
kachick committed May 13, 2024
1 parent 8cd98dc commit c4c675d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@ jobs:
- name: Install dependencies
run: npm ci --ignore-scripts

- run: npx tsc

- name: Run dummy tests
run: xvfb-run -a npm test
continue-on-error: true
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@ jobs:
- name: Install dependencies
run: npm ci --ignore-scripts

- run: npx tsc

- name: Make sure to be possible to create package
run: npx vsce package --out 'yamlfmt.vsix'

Expand Down
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@
},
"scripts": {
"lint": "dprint check && deno lint",
"prepackage": "tsc",
"package": "vsce package --out 'yamlfmt.vsix'",
"pretest": "tsc",
"test": "node ./test/runTest.js"
},
"devDependencies": {
Expand Down

0 comments on commit c4c675d

Please sign in to comment.