From 1e3ed873889c3c673f5cbf7f7a737e5ee8e43c7b Mon Sep 17 00:00:00 2001 From: Brad Garropy Date: Thu, 28 May 2020 23:48:59 -0500 Subject: [PATCH] github action. --- .github/workflows/release.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..e59f059 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,22 @@ +name: "🚀 release" + +on: + release: + types: [published] + +jobs: + release: + name: "🚀 release" + runs-on: ubuntu-latest + steps: + - name: "📚 checkout" + uses: actions/checkout@v2.1.1 + - name: "🟢 node" + uses: actions/setup-node@v1.4.2 + with: + node-version: 12 + registry-url: https://registry.npmjs.org + - name: "🚀 publish" + run: npm publish --access public + env: + NODE_AUTH_TOKEN: ${{secrets.NPM_AUTH_TOKEN}}