We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0993c01 commit 8d906e9Copy full SHA for 8d906e9
.github/workflows/ci.yml
@@ -86,6 +86,33 @@ jobs:
86
- name: Build src
87
run: npx hereby build-src
88
89
+ smoke:
90
+ runs-on: ubuntu-latest
91
+
92
+ steps:
93
+ - uses: actions/checkout@v3
94
+ - uses: actions/setup-node@v3
95
+ with:
96
+ node-version: "*"
97
+ check-latest: true
98
+ - run: npm ci
99
100
+ - run: npx hereby lkg
101
+ - run: |
102
+ npm pack
103
+ mv typescript*.tgz typescript.tgz
104
+ echo "PACKAGE=$PWD/typescript.tgz" >> $GITHUB_ENV
105
106
+ - name: Smoke test
107
+ run: |
108
+ cd "$(mktemp -d)"
109
+ npm init --yes
110
+ npm install $PACKAGE
111
112
+ npx tsc --version
113
+ echo '{"seq": 1, "command": "status"}' | npx tsserver
114
+ node -e 'console.log(require("typescript").version)'
115
+ node -e 'console.log(require("typescript/lib/tsserverlibrary").version)'
116
117
misc:
118
runs-on: ubuntu-latest
0 commit comments