From e10040ed406ab68e9dbff0a080a96f55afc2fe2b Mon Sep 17 00:00:00 2001 From: Keijiro Takahashi Date: Wed, 21 Jul 2021 23:20:24 +0900 Subject: [PATCH] GitHub Action --- .github/workflows/main.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..fca9872 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,16 @@ +name: UPM on npsjs.com +on: + release: + types: [created] +jobs: + publish: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-node@v2 + with: + registry-url: 'https://registry.npmjs.org' + - run: npm publish + working-directory: Packages/jp.keijiro.libsoundio + env: + NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}