+22
.tangled/workflows/npm_publish.yml
+22
.tangled/workflows/npm_publish.yml
···
1
+
when:
2
+
- event: ["push"]
3
+
branch: ["master"]
4
+
5
+
dependencies:
6
+
nixpkgs:
7
+
- nodejs
8
+
9
+
steps:
10
+
- name: "Install dependencies"
11
+
command: "npm install"
12
+
13
+
- name: "tsc"
14
+
nommand: "npx tsc"
15
+
16
+
- name: "npm publish"
17
+
command: "git log -1 --pretty=%B | grep -q '^publish new version' && npm publish --access public --token ${NPM_TOKEN}"
18
+
19
+
clone:
20
+
skip: false
21
+
depth: 3
22
+
submodules: false