Disable automated publishing

It’s not working currently. It’s disabled while we’re in the pre-release
stage.
This commit is contained in:
Remco Haszing 2021-11-09 21:53:29 +01:00
parent 44e5c7b6b5
commit d15459091c
No known key found for this signature in database
GPG key ID: 40D9F5FE9155FD3C

View file

@ -42,16 +42,15 @@ jobs:
with: { node-version: 16 }
- run: npm ci
- run: npx tsc
release:
runs-on: ubuntu-latest
needs: [eslint, pack, prettier, tsc]
if: startsWith(github.ref, 'refs/tags/')
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with: { node-version: 16 }
- run: npm ci
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
# release:
# runs-on: ubuntu-latest
# needs: [eslint, pack, prettier, tsc]
# if: startsWith(github.ref, 'refs/tags/')
# steps:
# - uses: actions/checkout@v2
# - uses: actions/setup-node@v2
# with: { node-version: 16 }
# - run: npm ci
# - run: npm publish
# env:
# NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}