Skip to content

Commit 864beb3

Browse files
chore: update CI workflows and package scripts for improved build process
1 parent 0d01d4c commit 864beb3

File tree

3 files changed

+4
-8
lines changed

3 files changed

+4
-8
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,10 @@ jobs:
2020
- name: Setup
2121
uses: ./.github/actions/setup
2222

23-
- name: Run Nitrogen
24-
run: yarn nitrogen
25-
2623
- name: Lint files
2724
run: yarn lint
28-
29-
- name: Typecheck files
30-
run: yarn typecheck
25+
- name: Run Build
26+
run: yarn prepare
3127

3228
test:
3329
runs-on: ubuntu-latest

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
release:
1212
runs-on: ubuntu-latest
1313
environment: production
14-
if: "!contains(github.event.head_commit.message, 'skip ci')"
14+
if: ${{ !contains(github.event.head_commit.message, 'skip ci') }}
1515

1616
steps:
1717
- name: Checkout

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
"lint": "eslint \"**/*.{js,ts,tsx}\"",
3636
"clean": "del-cli android/build example/android/build example/android/app/build example/ios/build lib",
3737
"docs": "typedoc",
38-
"prepare": "yarn nitrogen && bob build && yarn typedoc",
38+
"prepare": "yarn nitrogen && yarn typedoc && bob build",
3939
"nitrogen": "nitro-codegen",
4040
"semantic-release:ci": "semantic-release --ci"
4141
},

0 commit comments

Comments
 (0)