We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 084a3cd commit f6005e5Copy full SHA for f6005e5
1 file changed
.github/workflows/ci.yml
@@ -0,0 +1,31 @@
1
+name: CI/CD for json-schema-editor
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - main
7
8
+jobs:
9
+ release:
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - name: Checkout Code
13
+ uses: actions/checkout@v4
14
15
+ - name: Install Node.js
16
+ uses: actions/setup-node@v4
17
+ with:
18
+ node-version: 20.x
19
+ registry-url: "https://registry.npmjs.org"
20
21
+ - name: Install dependencies
22
+ run: npm ci
23
24
+ - name: Build
25
+ run: npm run build
26
27
+ - name: Check version and publish
28
+ uses: JS-DevTools/npm-publish@v3
29
30
+ token: ${{ secrets.NPM_TOKEN }}
31
+ access: public
0 commit comments