Skip to content

Commit d548745

Browse files
committed
fix: initial commit
1 parent 7959a2c commit d548745

File tree

3 files changed

+31
-2
lines changed

3 files changed

+31
-2
lines changed

.github/workflows/release.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Release
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
8+
jobs:
9+
release:
10+
name: Release
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Checkout
14+
uses: actions/[email protected]
15+
- run: |
16+
git config user.name $GITHUB_ACTOR
17+
git config user.email gh-actions-${GITHUB_ACTOR}@github.com
18+
19+
- name: Setup Node.js
20+
uses: actions/setup-node@v1
21+
22+
- name: Install dependencies
23+
run: npm ci
24+
25+
- name: Semenatic-Release
26+
run: npx semantic-release
27+
env:
28+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
29+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,4 +63,4 @@ fastlane/.envstore.yml
6363
# Bundle artifact
6464
*.jsbundle
6565

66-
/.vscode/.react/
66+
/.vscode/*

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "git-playground",
3-
"version": "1.0.3-rc.6",
3+
"version": "0.0.1",
44
"private": true,
55
"scripts": {
66
"release": "semantic-release",

0 commit comments

Comments
 (0)