bump version, update links in docs #9
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: [push] | |
# on: [push] | |
name: Build and publish to NPM | |
jobs: | |
publish-npm: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: 16 | |
registry-url: https://registry.npmjs.org/ | |
- name: install dependencies | |
run: yarn install | |
# - name: create builds | |
# run: yarn build | |
- name: Publish to NPM | |
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }} | |
run: npm publish || true | |
env: | |
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |