Skip to content

Merge pull request #25 from City-of-Helsinki/remove_kuva_workflows #19

Merge pull request #25 from City-of-Helsinki/remove_kuva_workflows

Merge pull request #25 from City-of-Helsinki/remove_kuva_workflows #19

name: publish canary
on:
push:
branches:
- develop
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
ref: develop
- uses: actions/setup-node@v1
with:
node-version: 12
- run: yarn
- run: yarn test
- run: yarn build
publish-npm:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 12
registry-url: https://registry.npmjs.org/
- run: yarn
- run: yarn publish-canary
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}