-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Berend Sliedrecht <[email protected]>
- Loading branch information
Berend Sliedrecht
committed
Nov 26, 2024
1 parent
267d71e
commit 3938607
Showing
16 changed files
with
21,583 additions
and
31,574 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,57 +30,65 @@ jobs: | |
|
||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: '18' | ||
node-version: '20' | ||
|
||
- uses: pnpm/action-setup@v4 | ||
with: | ||
version: 9 | ||
|
||
- name: Install dependencies | ||
run: npm install | ||
run: pnpm install | ||
|
||
- name: Style | ||
run: npm run style:check | ||
run: pnpm style:check | ||
|
||
- name: Build | ||
run: npm run build | ||
run: pnpm build | ||
|
||
- name: Check types | ||
run: npm run types:check | ||
run: pnpm types:check | ||
|
||
continuous-deployment: | ||
if: github.event_name == 'workflow_dispatch' | ||
|
||
name: 'Continuous Deployment' | ||
runs-on: ubuntu-latest | ||
needs: ['continuous-integration'] | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: '18' | ||
|
||
- name: Install dependencies | ||
run: npm install | ||
|
||
- name: Build | ||
run: npm run build | ||
|
||
- name: Set git configuration | ||
run: | | ||
git config user.name "Animo Solutions" | ||
git config user.email "[email protected]" | ||
- name: Publish | ||
id: publish | ||
env: | ||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
run: | | ||
npm config set //registry.npmjs.org/:_authToken $NPM_TOKEN | ||
if [ ${{ inputs.release-type }} == 'alpha' ]; then | ||
npm run release -- --preRelease=alpha | ||
else | ||
npm run release -- -i=${{ inputs.release-type }} | ||
fi | ||
if: github.event_name == 'workflow_dispatch' | ||
|
||
name: 'Continuous Deployment' | ||
runs-on: ubuntu-latest | ||
needs: ['continuous-integration'] | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: '20' | ||
|
||
- uses: pnpm/action-setup@v4 | ||
with: | ||
version: 9 | ||
|
||
- name: Install dependencies | ||
run: pnpm install | ||
|
||
- name: Build | ||
run: pnpm build | ||
|
||
- name: Set git configuration | ||
run: | | ||
git config user.name "Animo Solutions" | ||
git config user.email "[email protected]" | ||
- name: Publish | ||
id: publish | ||
env: | ||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
run: | | ||
npm config set //registry.npmjs.org/:_authToken $NPM_TOKEN | ||
if [ ${{ inputs.release-type }} == 'alpha' ]; then | ||
pnpm release -- --preRelease=alpha | ||
else | ||
pnpm release -- -i=${{ inputs.release-type }} | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
import { registerRootComponent } from 'expo' | ||
import { App } from './App' | ||
import { PApp } from './App' | ||
|
||
// Register the app as the main component | ||
registerRootComponent(App) | ||
registerRootComponent(PApp) |
Oops, something went wrong.