Skip to content

Commit

Permalink
Merge pull request #60 from Turbo87/ci-deploy
Browse files Browse the repository at this point in the history
CI: Add `release` job
  • Loading branch information
Turbo87 authored Oct 16, 2020
2 parents f6b693b + 24eee91 commit bb5962c
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Release

on:
push:
tags:
- 'v*'

jobs:
release:
name: release
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: 10
registry-url: 'https://registry.npmjs.org'

- run: yarn install --frozen-lockfile

- name: auto-dist-tag
run: npx auto-dist-tag@1 --write

- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit bb5962c

Please sign in to comment.