-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #676 from xmtp/rygine/content-types
Migrate content types into repo
- Loading branch information
Showing
255 changed files
with
14,331 additions
and
10,571 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,94 @@ | ||
name: Content types | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
pull_request: | ||
paths: | ||
- "content-types/**" | ||
- ".github/workflows/content-types.yml" | ||
- "dev/**" | ||
- ".node-version" | ||
- ".nvmrc" | ||
- ".yarnrc.yml" | ||
- "turbo.json" | ||
- "yarn.lock" | ||
|
||
jobs: | ||
typecheck: | ||
name: Typecheck | ||
runs-on: warp-ubuntu-latest-x64-8x | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version-file: ".nvmrc" | ||
cache: "yarn" | ||
env: | ||
SKIP_YARN_COREPACK_CHECK: "1" | ||
- name: Enable corepack | ||
run: corepack enable | ||
- name: Install dependencies | ||
run: yarn | ||
- name: Typecheck | ||
run: yarn turbo run typecheck --filter='./content-types/*' | ||
|
||
lint: | ||
name: Lint | ||
runs-on: warp-ubuntu-latest-x64-8x | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version-file: ".nvmrc" | ||
cache: "yarn" | ||
env: | ||
SKIP_YARN_COREPACK_CHECK: "1" | ||
- name: Enable corepack | ||
run: corepack enable | ||
- name: Install dependencies | ||
run: yarn | ||
- name: Lint | ||
run: yarn turbo run lint --filter='./content-types/*' | ||
|
||
test: | ||
name: Test | ||
runs-on: warp-ubuntu-latest-x64-8x | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version-file: ".nvmrc" | ||
cache: "yarn" | ||
env: | ||
SKIP_YARN_COREPACK_CHECK: "1" | ||
- name: Enable corepack | ||
run: corepack enable | ||
- name: Install dependencies | ||
run: yarn | ||
- name: Start dev environment | ||
run: ./dev/up | ||
- name: Sleep for 5 seconds | ||
run: sleep 5s | ||
- name: Run tests | ||
run: yarn turbo run test --filter='./content-types/*' | ||
|
||
build: | ||
name: Build | ||
runs-on: warp-ubuntu-latest-x64-8x | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version-file: ".nvmrc" | ||
cache: "yarn" | ||
env: | ||
SKIP_YARN_COREPACK_CHECK: "1" | ||
- name: Enable corepack | ||
run: corepack enable | ||
- name: Install dependencies | ||
run: yarn | ||
- name: Build | ||
run: yarn turbo run build --filter='./content-types/*' |
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
Oops, something went wrong.