Skip to content

Fix publish workflow #41

Fix publish workflow

Fix publish workflow #41

Workflow file for this run

name: Publish
on:
push:
branches:
- master
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Install dependencies
uses: bahmutov/npm-install@v1
- name: Wait on lint
uses: lewagon/[email protected]
with:
ref: ${{ github.sha }}
check-name: lint
repo-token: ${{ secrets.GITHUB_TOKEN }}
wait-interval: 10
- name: Wait on tests
uses: lewagon/[email protected]
with:
ref: ${{ github.sha }}
check-name: test
repo-token: ${{ secrets.GITHUB_TOKEN }}
wait-interval: 10
- name: Build
run: yarn build
- name: Publish
uses: JS-DevTools/npm-publish@v3
with:
token: ${{ secrets.NPM_TOKEN }}
access: public