diff --git a/.github/release-please.yml b/.github/release-please.yml new file mode 100644 index 0000000..3c06599 --- /dev/null +++ b/.github/release-please.yml @@ -0,0 +1,2 @@ +releaseType: node +handleGHRelease: true diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml new file mode 100644 index 0000000..8c3e703 --- /dev/null +++ b/.github/workflows/release.yaml @@ -0,0 +1,17 @@ +on: + release: + types: [published] +name: release +jobs: + release-please: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-node@v2 + with: + node-version: 14 + registry-url: 'https://wombat-dressing-room.appspot.com' + - run: npm ci + - run: npm publish + env: + NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}