Skip to content

Commit

Permalink
Merge pull request #6 from etchteam/feature/etch-244-setup-semantic-r…
Browse files Browse the repository at this point in the history
…elease

Setup semantic release
  • Loading branch information
DanWebb authored Jan 23, 2024
2 parents 7124ce9 + 98737de commit 757a6c1
Show file tree
Hide file tree
Showing 5 changed files with 12,634 additions and 7,192 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
---
name: 🚀 Release
on:
push:
branches:
- main
env:
HUSKY: 0
jobs:
publish:
name: Publish
runs-on: ubuntu-latest
if: "! contains(toJSON(github.event.commits.*.message), '[skip ci]')"
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
persist-credentials: false
- uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
cache: npm
- run: npm run build
- name: Publish
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npx semantic-release
Loading

0 comments on commit 757a6c1

Please sign in to comment.