Skip to content

Commit

Permalink
ci: enable semantic-release on GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
keplersj committed Aug 30, 2021
1 parent ffb437e commit 0789520
Show file tree
Hide file tree
Showing 2 changed files with 74 additions and 194 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Release

on:
push:
branches:
- master

jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: lts/*
- name: Install dependencies
run: npm ci
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npx semantic-release
Loading

0 comments on commit 0789520

Please sign in to comment.