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}}