mirror of
https://github.com/amark/gun.git
synced 2025-03-30 15:08:33 +00:00

* no artifacts, not required * renamed * cleanup and comments * pass build args * two-step docker build
23 lines
385 B
YAML
23 lines
385 B
YAML
name: npm
|
|
|
|
on:
|
|
release:
|
|
types: [ published ]
|
|
|
|
jobs:
|
|
|
|
npm:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
|
|
- name: Checkout
|
|
uses: actions/checkout@v2
|
|
|
|
- name: Publish
|
|
env:
|
|
NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
|
|
run: |
|
|
npm config set //registry.npmjs.org/:_authToken=$NPM_AUTH_TOKEN
|
|
npm install
|
|
npm publish --access=public
|