-
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.
- Loading branch information
1 parent
d370c83
commit f13f945
Showing
1 changed file
with
32 additions
and
22 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 |
---|---|---|
|
@@ -10,35 +10,35 @@ env: | |
SKIP_ENV_VALIDATION: true | ||
|
||
jobs: | ||
init: | ||
name: Init | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repo | ||
uses: actions/checkout@v3 | ||
# init: | ||
# name: Init | ||
# runs-on: ubuntu-latest | ||
# steps: | ||
# - name: Checkout repo | ||
# uses: actions/checkout@v3 | ||
|
||
# ? https://github.com/actions/setup-node/blob/main/docs/advanced-usage.md#caching-packages-data | ||
# # ? https://github.com/actions/setup-node/blob/main/docs/advanced-usage.md#caching-packages-data | ||
|
||
- name: Setup pnpm | ||
uses: pnpm/[email protected] | ||
with: | ||
version: 8.6.12 | ||
# - name: Setup pnpm | ||
# uses: pnpm/[email protected] | ||
# with: | ||
# version: 8.6.12 | ||
|
||
- name: Setup node | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 18 | ||
cache: "pnpm" | ||
# - name: Setup node | ||
# uses: actions/setup-node@v3 | ||
# with: | ||
# node-version: 18 | ||
# cache: "pnpm" | ||
|
||
# Hopefully this caches stuff | ||
# # Hopefully this caches stuff | ||
|
||
- name: Install deps (with cache) | ||
run: pnpm install | ||
# - name: Install deps (with cache) | ||
# run: pnpm install | ||
|
||
lint: | ||
name: Lint | ||
runs-on: ubuntu-latest | ||
needs: init | ||
# needs: init | ||
|
||
steps: | ||
- name: Checkout repo | ||
|
@@ -57,13 +57,18 @@ jobs: | |
node-version: 18 | ||
cache: "pnpm" | ||
|
||
# Hopefully this caches stuff | ||
|
||
- name: Install deps (with cache) | ||
run: pnpm install | ||
|
||
- name: Run Lint | ||
run: pnpm run lint | ||
|
||
typecheck: | ||
name: Typecheck | ||
runs-on: ubuntu-latest | ||
needs: init | ||
# needs: init | ||
|
||
steps: | ||
- name: Checkout repo | ||
|
@@ -82,5 +87,10 @@ jobs: | |
node-version: 18 | ||
cache: "pnpm" | ||
|
||
- name: Run Lint | ||
# Hopefully this caches stuff | ||
|
||
- name: Install deps (with cache) | ||
run: pnpm install | ||
|
||
- name: Run Typecheck | ||
run: pnpm run typecheck |