Skip to content

Commit 7808e88

Browse files
Update npmpublish.yml
1 parent fb75f09 commit 7808e88

File tree

1 file changed

+16
-20
lines changed

1 file changed

+16
-20
lines changed

.github/workflows/npmpublish.yml

Lines changed: 16 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -8,23 +8,19 @@ jobs:
88
build:
99
runs-on: ubuntu-latest
1010
steps:
11-
- uses: actions/checkout@v2
12-
- uses: actions/setup-node@v1
13-
with:
14-
node-version: '12.x'
15-
registry-url: 'https://registry.npmjs.org'
16-
env:
17-
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
18-
- name: Compile
19-
run: |
20-
npm cache verify
21-
npm install
22-
npm run compile
23-
- name: Test
24-
env:
25-
appSid: ${{secrets.appSidProd}}
26-
appKey: ${{secrets.appKeyProd}}
27-
apiBaseUrl: "https://api.aspose.cloud"
28-
run: npm run test-pipeline
29-
- name: Publish
30-
run: npm publish
11+
- uses: actions/checkout@v2
12+
- uses: actions/setup-node@v1
13+
with:
14+
node-version: '12.x'
15+
registry-url: 'https://registry.npmjs.org'
16+
- run: |
17+
npm cache verify
18+
npm install
19+
npm run compile
20+
- run: npm run test-pipeline
21+
- run: npm publish
22+
env:
23+
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
24+
appSid: ${{secrets.appSidProd}}
25+
appKey: ${{secrets.appKeyProd}}
26+
apiBaseUrl: "https://api.aspose.cloud"

0 commit comments

Comments
 (0)