forked from unindented/storybook-addon-rtl
-
Notifications
You must be signed in to change notification settings - Fork 3
30 lines (23 loc) · 742 Bytes
/
Copy pathrelease.yml
File metadata and controls
30 lines (23 loc) · 742 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
name: Release
on: [push, workflow_dispatch]
jobs:
release:
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, 'ci skip') && !contains(github.event.head_commit.message, 'skip ci')"
steps:
- uses: actions/checkout@v2
- name: Prepare repository
run: git fetch --unshallow --tags
- name: Use Node.js 24.x
uses: actions/setup-node@v3
with:
node-version: 24.x
- uses: pnpm/action-setup@v4
- name: Install dependencies
run: pnpm install --ignore-scripts
- name: Create Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: |
npm run release