Skip to content

Commit

Permalink
Merge branch 'feature/npm-workflow' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
devsheva committed Sep 4, 2024
2 parents 7c1a809 + 3e4df4d commit 49b8e54
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Release

on:
release:
types: [published]

jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: 9
- name: Setup Node.js environment
uses: actions/[email protected]
with:
node-version-file: '.tool-versions'
cache: 'pnpm'
- name: Install dependencies
run: pnpm install
- name: Publish
run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit 49b8e54

Please sign in to comment.