Remove Expo app.json configuration #1299
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: Lint, Check Types, Test | |
on: push | |
jobs: | |
check-types: | |
name: Lint, Check Types, Test | |
runs-on: ubuntu-latest | |
timeout-minutes: 30 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pnpm/action-setup@v4 | |
- name: Use Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 'lts/*' | |
cache: 'pnpm' | |
- run: pnpm install | |
- run: pnpm eslint . --max-warnings 0 | |
- run: pnpm tsc | |
# Copy the upleveled-eslint-install bin script to __tests__ | |
- run: | | |
mkdir -p __tests__/node_modules/.bin | |
cp node_modules/.bin/upleveled-eslint-install __tests__/node_modules/.bin | |
mkdir -p __tests__/node_modules/eslint-config-upleveled/bin | |
cp package.json __tests__/node_modules/eslint-config-upleveled | |
cp bin/install.js __tests__/node_modules/eslint-config-upleveled/bin | |
- run: cd __tests__ && pnpm upleveled-eslint-install | |
# Run as if not in CI to avoid pnpm errors like: | |
# ERR_PNPM_FROZEN_LOCKFILE_WITH_OUTDATED_LOCKFILE Cannot perform a frozen installation because the lockfile needs updates | |
# Note that in CI environments this setting is true by default. If you still need to run install in such cases, use "pnpm install --no-frozen-lockfile" | |
env: | |
CI: false |