Skip to content

Commit

Permalink
馃懛 Add Release CI
Browse files Browse the repository at this point in the history
  • Loading branch information
AnandChowdhary committed Mar 4, 2024
1 parent aac906c commit 3e26466
Showing 1 changed file with 30 additions and 0 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 CI

on:
workflow_dispatch:

jobs:
release:
name: Build, Test, and Release
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
ref: ${{ github.head_ref }}
token: ${{ secrets.GH_PAT }}

- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 16
cache: 'npm'

- name: Install Dependencies
run: npm ci

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

0 comments on commit 3e26466

Please sign in to comment.