Skip to content

Commit d13ac21

Browse files
authored
1 parent dbfbe3e commit d13ac21

File tree

4 files changed

+31
-70
lines changed

4 files changed

+31
-70
lines changed

.circleci/config.yml

-63
This file was deleted.

.github/workflows/publish-canary.yml

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Publish canary
2+
3+
on:
4+
pull_request:
5+
branches: ['main']
6+
7+
jobs:
8+
publish-canary:
9+
name: Publish canary
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v3
13+
- uses: actions/setup-node@v3
14+
with:
15+
node-version: 18
16+
cache: 'yarn'
17+
env:
18+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
19+
- name: Install deps
20+
run: yarn install
21+
- name: Publish canary
22+
env:
23+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
24+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
25+
run: yarn release:canary

.github/workflows/release.yml

-2
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@ jobs:
2121
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
2222
- name: Install deps
2323
run: yarn install
24-
- name: Build palette-mobile
25-
run: yarn build-lib:clean
2624
- name: Release new version
2725
env:
2826
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

package.json

+6-5
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,16 @@
88
"prepare": "yarn build",
99
"build": "tsc",
1010
"test": "jest",
11+
"test:w": "jest --watch",
1112
"lint": "eslint src/**/*.ts",
12-
"eslint-fix": "eslint src/**/*.ts --fix",
13-
"prettier-fix": "prettier --write \"**/*.{ts,tsx}\"",
13+
"eslint:fix": "eslint src/**/*.ts --fix",
14+
"prettier:fix": "prettier --write \"**/*.{ts,tsx}\"",
1415
"release": "auto shipit",
15-
"release-canary": "auto canary"
16+
"release:canary": "auto canary"
1617
},
1718
"peerDependencies": {
18-
"react": ">=16.8.0",
19-
"react-native": ">=0.59"
19+
"react": ">=17.0.2",
20+
"react-native": ">=0.65"
2021
},
2122
"devDependencies": {
2223
"@auto-it/all-contributors": "10.37.6",

0 commit comments

Comments
 (0)