1
0
mirror of https://github.com/oceanprotocol/react.git synced 2024-06-17 18:03:16 +02:00
react/.github/workflows/publish.yml
Matthias Kretschmann d9c7a916d2
move to GitHub Actions (#253)
* move to GitHub Actions

* prettier fix for Windows
2021-03-04 12:10:29 +01:00

22 lines
414 B
YAML

name: 'Publish'
on:
release:
types: [created]
jobs:
npm:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '14'
registry-url: 'https://registry.npmjs.org'
- run: npm install
- run: npm run build
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}