Skip to content

Commit

Permalink
build: automate releases
Browse files Browse the repository at this point in the history
  • Loading branch information
aerovulpe committed Oct 9, 2023
1 parent 7a30bd5 commit f48bdae
Show file tree
Hide file tree
Showing 7 changed files with 55 additions and 30,127 deletions.
31 changes: 0 additions & 31 deletions .github/workflows/build.yml

This file was deleted.

29 changes: 29 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Release

on:
push:
branches:
- main

jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
fetch-depth: 0

- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: '16.x'

- name: Install dependencies
run: npm install

- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npx semantic-release
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
.DS_Store
dist
node_modules
package-lock.json

Expand Down
Loading

0 comments on commit f48bdae

Please sign in to comment.