mirror of
https://github.com/carloscuesta/gitmoji.git
synced 2025-12-08 20:14:12 +00:00
* 🔧 Add `pnpm-workspace` configuration * 🔧 Add `pnpm-lock` file * ♻️ Replace `yarn` with `pnpm` in root package.json * 🔥 Remove yarn binary * ⬆️ Bump `next-pwa` dependencies * 🔥 Remove yarn lockfile * ♻️ Replace `yarn` with `pnpm` in gitmojis package * ♻️ Replace `yarn` with `pnpm` in website package * ♻️ Replace `yarn` with `pnpm` in GitHub workflows * ♻️ Adjust `lintstagedrc` prettier arguments * 📝 Update documentation * ♻️ Replace `yarn` with `pnpm` in git hooks * 🔥 Remove yarn refs from git files * ⬆️ Update `clipboard` dependency * 👷♂️ Install pnpm in GitHub Actions * 🔥 Remove unnecessary `exec` c md * 📝 Update documentation * 🔧 Specify pnpm as an engine
32 lines
780 B
YAML
32 lines
780 B
YAML
name: CI
|
|
on:
|
|
push:
|
|
branches: [master]
|
|
pull_request:
|
|
branches: [master]
|
|
jobs:
|
|
ci:
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
node-version: [18.x]
|
|
env:
|
|
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
|
|
TURBO_TEAM: ${{ secrets.TURBO_TEAM }}
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- uses: pnpm/action-setup@v2
|
|
- name: Install Node.js ${{ matrix.node-version }}
|
|
uses: actions/setup-node@v3
|
|
with:
|
|
cache: "pnpm"
|
|
node-version: ${{ matrix.node-version }}
|
|
- name: Install dependencies 📦
|
|
run: pnpm install
|
|
- name: Lint 🎨
|
|
run: pnpm turbo lint
|
|
- name: TypeScript check 🏷
|
|
run: pnpm turbo tscheck
|
|
- name: Tests ✅
|
|
run: pnpm turbo test
|