File tree 1 file changed +16
-22
lines changed
1 file changed +16
-22
lines changed Original file line number Diff line number Diff line change 3
3
release:
4
4
types: [created]
5
5
jobs :
6
- build-and-publish :
6
+ build:
7
7
runs-on: ubuntu-latest
8
8
steps:
9
- - name : Checkout repository
10
- uses : actions/checkout@v4
11
- - name : Setup Node.js
12
- uses : actions/setup-node@v4
9
+ - uses: actions/checkout@v4
10
+ - uses: actions/setup-node@v4
13
11
with:
14
- node-version : ' 20'
15
- registry-url : ' https://registry.npmjs.org'
12
+ node-version: 20
13
+ - run: npm ci
14
+ - run: npm run build
15
+ - run: npm test
16
16
17
- - name : Install dependencies
18
- run : npm ci
19
-
20
- - name : Build
21
- run : npm run build
22
-
23
- - name : Run tests
24
- run : npm test
25
-
26
- - name : " Publish n8n-nodes-markitdown package"
27
- uses : bitovi/github-actions-npm-publish:v1.0.0
28
- with :
29
- update_type : ' patch'
30
- npm_token : ${{ secrets.NPM_TOKEN }}
31
- publish : true
17
+ publish-npm:
18
+ needs : build
19
+ runs-on : ubuntu-latest
20
+ steps:
21
+ - uses : bitovi/github-actions-npm-publish:v1.0.0
22
+ with :
23
+ update_type : 'patch'
24
+ npm_token : ${{ secrets.NPM_TOKEN }}
25
+ publish : true
You can’t perform that action at this time.
0 commit comments