We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 16eacf0 commit bccaef9Copy full SHA for bccaef9
.github/workflows/add-release-and-publish.yml
@@ -6,6 +6,20 @@ on:
6
- master
7
8
jobs:
9
+
10
+ runner-job:
11
+ runs-on: ubuntu-latest
12
13
+ steps:
14
+ - name: Check out repository code
15
+ uses: actions/checkout@v4
16
17
+ - name: Install dependencies
18
+ run: npm ci
19
20
+ - name: Run Tests
21
+ run: npm test
22
23
release:
24
name: Release
25
runs-on: ubuntu-latest
package.json
@@ -6,6 +6,7 @@
"access": "public",
"registry": "https://registry.npmjs.org/"
},
+ "type": "module",
"main": "build/index.js",
"types": "build/index.d.ts",
"files": [
@@ -19,7 +20,7 @@
],
"scripts": {
"build": "tsc",
- "test": "echo \"Error: no test specified\" && exit 1"
+ "test": "npm run build && node ./build/test/index.js"
"repository": {
26
"type": "git",
0 commit comments