-
Notifications
You must be signed in to change notification settings - Fork 467
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: GH workflows, turbo and other chores (#1073)
* explicit prettierrc * turbo * format test * pull-request workflow * update actions * bump to yarn 4 * build script
- Loading branch information
Showing
16 changed files
with
8,133 additions
and
9,863 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 |
---|---|---|
@@ -0,0 +1,19 @@ | ||
name: Setup project | ||
description: Install required tools | ||
inputs: | ||
node-version: | ||
required: false | ||
description: node version to install | ||
default: 20.10.0 # is already cached in Ubuntu 22.04 runner | ||
runs: | ||
using: composite | ||
steps: | ||
- name: Enable corepack | ||
shell: bash | ||
run: | | ||
corepack enable | ||
yarn --version | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: ${{ inputs.node-version }} | ||
cache: "yarn" |
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 |
---|---|---|
@@ -0,0 +1,19 @@ | ||
name: PR review | ||
on: | ||
pull_request: | ||
jobs: | ||
code-quality: | ||
name: Code quality | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
test-name: [lint, ts, format] | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- name: Setup project | ||
uses: ./.github/actions/setup-project | ||
- name: Install dependencies | ||
run: yarn | ||
- name: test ${{ matrix.test-name }} | ||
run: yarn test:${{ matrix.test-name }} |
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,4 +1,4 @@ | ||
name: Mark stale issues and pull requests | ||
name: Stale issue | ||
on: | ||
schedule: | ||
- cron: "30 1 * * *" | ||
|
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"trailingComma": "es5" | ||
} |
This file was deleted.
Oops, something went wrong.
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,24 +1,25 @@ | ||
enableGlobalCache: false | ||
enableTelemetry: false | ||
nodeLinker: node-modules | ||
npmRegistryServer: "https://registry.npmjs.org" | ||
logFilters: | ||
- code: YN0007 # X must be built because it never has been before or the last one failed | ||
- code: YN0007 | ||
level: discard | ||
- code: YN0008 # X must be rebuilt because its dependency tree changed | ||
- code: YN0008 | ||
level: discard | ||
- code: YN0013 # X can't be found in the cache and will be fetched from the remote registry | ||
- code: YN0013 | ||
level: discard | ||
nodeLinker: node-modules | ||
npmRegistryServer: "https://registry.npmjs.org" | ||
|
||
packageExtensions: | ||
"@expo/cli@*": | ||
peerDependencies: | ||
"expo-modules-autolinking": "*" | ||
"babel-preset-expo@*": | ||
expo-modules-autolinking: "*" | ||
babel-preset-expo@*: | ||
peerDependencies: | ||
"@babel/core": "^7.0.0-0" | ||
"expo@*": | ||
"@babel/core": ^7.0.0-0 | ||
expo-asset@*: | ||
peerDependencies: | ||
"@babel/core": "^7.0.0-0" | ||
"expo-asset@*": | ||
expo: "*" | ||
expo@*: | ||
peerDependencies: | ||
"expo": "*" | ||
yarnPath: .yarn/releases/yarn-3.4.1.cjs | ||
"@babel/core": ^7.0.0-0 |
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 was deleted.
Oops, something went wrong.
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,7 +1,4 @@ | ||
{ | ||
"extends": "../../.config/tsconfig.base.json", | ||
"compilerOptions": { | ||
"types": ["jest"] | ||
}, | ||
"include": ["example", "src"] | ||
} |
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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"$schema": "https://turbo.build/schema.json", | ||
"pipeline": { | ||
"test:lint": {}, | ||
"test:ts": {}, | ||
"build": { | ||
"outputs": ["lib/**"] | ||
}, | ||
"async-storage-website#build": { | ||
"outputs": ["build/**"] | ||
} | ||
} | ||
} |
Oops, something went wrong.