From f8bf4a264d9e5d943c7936a1e6895415c70665f3 Mon Sep 17 00:00:00 2001 From: Justin Beckwith Date: Thu, 22 Jul 2021 07:58:07 -0700 Subject: [PATCH] build: configure release-please --- .github/release-please.yml | 2 ++ .github/workflows/release.yaml | 17 +++++++++++++++++ 2 files changed, 19 insertions(+) create mode 100644 .github/release-please.yml create mode 100644 .github/workflows/release.yaml 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}}