Skip to content

Commit 99b8739

Browse files
KwanKwan
authored andcommitted
Added yml for github actions, updated version number
1 parent dcd95c7 commit 99b8739

2 files changed

Lines changed: 27 additions & 3 deletions

File tree

.github/workflows/publish.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Publish NPM Package
2+
on:
3+
workflow_dispatch:
4+
release:
5+
types: [published]
6+
7+
jobs:
8+
build:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v2
12+
13+
- uses: actions/setup-node@v2
14+
with:
15+
node-version: "16.x"
16+
registry-url: "https://registry.npmjs.org"
17+
18+
- name: install npm packages
19+
run: npm install
20+
21+
- name: publish npm package
22+
run: npm publish
23+
env:
24+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@
3333
"bourbon": "6.0.0",
3434
"i18next": "19.4.5",
3535
"immutable": "4.0.0-rc.12",
36-
"react": "^16",
37-
"react-dom": "^16",
36+
"react": "^16.13.1",
37+
"react-dom": "^16.13.1",
3838
"react-i18next": "11.6.0",
3939
"react-router-dom": "5.1.2",
4040
"react-scripts": "3.4.1",
@@ -137,5 +137,5 @@
137137
"test:debug": "react-scripts --inspect-brk test --runInBand --no-cache"
138138
},
139139
"types": "dist/index",
140-
"version": "0.5.0"
140+
"version": "0.6.0"
141141
}

0 commit comments

Comments
 (0)