Skip to content

Commit 536a5a8

Browse files
committed
-
1 parent e352aed commit 536a5a8

File tree

2 files changed

+24
-4
lines changed

2 files changed

+24
-4
lines changed

.github/workflows/tsgo.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Test on ts-go
2+
on: [push, pull_request]
3+
4+
jobs:
5+
test:
6+
runs-on: ubuntu-latest
7+
8+
steps:
9+
- uses: actions/checkout@v4
10+
with:
11+
submodules: true # Ensures submodules are cloned
12+
13+
14+
- uses: actions/setup-node@v5
15+
with:
16+
node-version: "lts/*"
17+
cache: npm
18+
19+
- run: npm ci
20+
- run: tsgo && node ./lib/build.js

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@
1212
"worklet"
1313
],
1414
"scripts": {
15-
"build": "tsgo && node ./lib/build.js",
15+
"build": "tsc && node ./lib/build.js",
1616
"baseline-accept": "cpx \"generated\\**\" baselines\\",
17-
"lint": "eslint --max-warnings 0 src deploy/*.js && tsgo -p deploy/jsconfig.json",
17+
"lint": "eslint --max-warnings 0 src deploy/*.js && tsc -p deploy/jsconfig.json",
1818
"lint-fix": "eslint --max-warnings 0 src deploy/*.js --fix",
1919
"test": "npm run build && npm run lint && node ./lib/test.js && node ./unittests/index.js",
20-
"changelog": "tsgo && node ./lib/changelog.js",
20+
"changelog": "tsc && node ./lib/changelog.js",
2121
"ts-changelog": "node ./deploy/versionChangelog.js",
2222
"migrate": "node ./deploy/migrate.js",
23-
"version": "npm i && tsgo && node ./lib/version.js",
23+
"version": "npm i && tsc && node ./lib/version.js",
2424
"generate": "npm run build && npm run baseline-accept"
2525
},
2626
"author": {

0 commit comments

Comments
 (0)