mirror of
https://github.com/carloscuesta/gitmoji.git
synced 2025-12-08 20:14:12 +00:00
* 🔧 Add typescript configuration files * ➕ Install typescript dependencies * ♻️ Migrate `lint-staged` to .ts(x) files * ♻️ Migrate `eslint` configuration to TypeScript * ♻️ Migrate `jest` configuration to TypeScript * 🔥 Remove `babel` configuration * ➖ Uninstall flow dependencies * 🔥 Remove `flow` configuration * 👷 Run `tsc` in `ci` workflow * 🔧 Update `pre-push` hook * ♻️ Migrate `pages/api` to TS * ♻️ Migrate `pages/_app` to TS * ♻️ Migrate `pages/_document` to TS * ♻️ Migrate `pages/about` to TS * ♻️ Migrate `pages/contributors` to TS * ♻️ Migrate `pages/index` to TS * ♻️ Migrate `pages/related-tools` to TS * ♻️ Migrate `components/Button` to TS * ♻️ Migrate `components/CarbonAd` to TS * ♻️ Migrate `components/ContributorsList` to TS * ♻️ Migrate `components/Icon` to TS * ♻️ Migrate `components/SEO` to TS * ♻️ Migrate `components/Layout` to TS * ♻️ Migrate `components/GitmojiList` to TS * ♻️ Migrate `__tests__/` pages to TS * 🏷️ Update `next-env.d.ts`
31 lines
733 B
YAML
31 lines
733 B
YAML
name: CI
|
|
on:
|
|
push:
|
|
branches: [ master ]
|
|
pull_request:
|
|
branches: [ master ]
|
|
jobs:
|
|
ci:
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
node-version: [16.x]
|
|
env:
|
|
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
|
|
TURBO_TEAM: ${{ secrets.TURBO_TEAM }}
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- name: Install Node.js ${{ matrix.node-version }}
|
|
uses: actions/setup-node@v3
|
|
with:
|
|
cache: 'yarn'
|
|
node-version: ${{ matrix.node-version }}
|
|
- name: Install dependencies 📦
|
|
run: yarn install --immutable
|
|
- name: Lint 🎨
|
|
run: yarn turbo lint
|
|
- name: TypeScript check 🏷
|
|
run: yarn turbo tscheck
|
|
- name: Tests ✅
|
|
run: yarn turbo test
|