2020-03-03 17:59:19 -05:00
|
|
|
name: Canary Release to Verdaccio
|
|
|
|
|
|
|
|
on: [push]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
release:
|
|
|
|
name: Release
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v1
|
|
|
|
- name: Use Node (latest)
|
|
|
|
uses: actions/setup-node@v1
|
|
|
|
with:
|
|
|
|
node_version: 13
|
|
|
|
- name: Install
|
2020-04-13 07:34:26 -05:00
|
|
|
run: yarn
|
2020-03-03 17:59:19 -05:00
|
|
|
- name: Clean
|
|
|
|
run: yarn clean
|
2020-04-13 07:34:26 -05:00
|
|
|
- name: Lint
|
|
|
|
run: yarn lint
|
2020-03-03 17:59:19 -05:00
|
|
|
- name: Build
|
|
|
|
run: yarn build
|
|
|
|
- name: Test
|
|
|
|
run: yarn test
|
|
|
|
- name: Publish
|
|
|
|
run: |
|
|
|
|
echo "//registry.verdaccio.org/:_authToken=${{ secrets.VERDACCIO_TOKEN }}" > .npmrc
|
|
|
|
git update-index --assume-unchanged .npmrc
|
|
|
|
yarn publish:canary
|