Skip to content

Commit

Permalink
build: add semantic release
Browse files Browse the repository at this point in the history
  • Loading branch information
axe312ger committed Feb 4, 2024
1 parent 784c557 commit ad98260
Show file tree
Hide file tree
Showing 4 changed files with 13,433 additions and 8,123 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Release

on:
push:
branches:
- main
- canary

jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Use Node.js 20.x
uses: actions/setup-node@v3
with:
node-version: 20.x
registry-url: 'https://registry.npmjs.org'

- name: Install Dependencies
run: npm install

- name: Semantic Release
run: npx semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
Loading

0 comments on commit ad98260

Please sign in to comment.