Skip to content

Create dependabot.yml #4

Create dependabot.yml

Create dependabot.yml #4

Workflow file for this run

name: Publish Package to NPM Registry
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
# Setup .npmrc file to publish to npm
- uses: actions/setup-node@v2
with:
node-version: 16
registry-url: https://registry.npmjs.org
- run: yarn
- run: yarn build
- run: cd dist && yarn publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}