Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
RaysOfTheSun committed Jun 19, 2020
2 parents 47aee7f + 262ff97 commit f18a91e
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions .github/workflows/npmpublish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,29 +15,29 @@ jobs:
- uses: actions/setup-node@v1
with:
node-version: 12
registry-url: https://registry.npmjs.org/
- run: npm ci
- run: npm test
- run: npm run compile
# - name: tsc compile
# uses: icrawl/action-tsc@v1
# with:
# noEmit: false
- run: npm run-script build

publish-npm:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 12
registry-url: https://registry.npmjs.org/
- run: npm ci
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

# publish-npm:
# needs: build
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v2
# - uses: actions/setup-node@v1
# with:
# node-version: 12
# registry-url: https://registry.npmjs.org/
# - run: npm ci
# - run: npm publish
# env:
# NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

# publish-gpr:
# needs: build
# runs-on: ubuntu-latest
Expand Down

0 comments on commit f18a91e

Please sign in to comment.