fix(types): removing unnecessary types for the generic list utility (… #758
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
name: CI | |
# Runs build and test on: | |
# every push that has a change in a file not in the docs folder | |
# every pull request with main branch as the base that has a change | |
# in a file not in the docs folder | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
name: Check and build codebase | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pnpm/action-setup@v3 | |
with: | |
version: 7 | |
- uses: actions/setup-node@v4 | |
with: | |
cache: 'pnpm' | |
node-version: 18.x | |
# Wireit cache | |
- uses: google/wireit@setup-github-actions-caching/v1 | |
- name: Install dependencies | |
run: pnpm install | |
# If you hare having issues post-merge with wireit improperly caching, | |
# comment this out, push a commit, then re-comment. | |
# - name: Clear all caches | |
# run: pnpm clean:cache | |
- name: Build Code and Examples | |
run: pnpm run build | |
# We build in-source files like `examples/one-page/index.html`. | |
# This check ensures we don't build changes that need committing. | |
- name: Check generated in-source files | |
run: git diff --no-ext-diff --quiet --exit-code | |
- name: Check Code | |
run: pnpm run check:ci |