Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 12 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,24 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
name: Checkout
with:
filter: tree:0
fetch-depth: 0

# Cache node_modules
- uses: actions/setup-node@v4
- uses: pnpm/action-setup@v4
name: Install pnpm
with:
version: 10
run_install: false

- uses: actions/setup-node@v3
name: Install Node.js
with:
node-version: 20
cache: 'npm'
cache: 'pnpm'

- run: npm ci --legacy-peer-deps
- run: pnpm install --frozen-lockfile
- uses: nrwl/nx-set-shas@v4

- run: npx nx affected -t lint test typecheck build
- run: pnpx nx affected -t lint test typecheck build
15 changes: 15 additions & 0 deletions .github/workflows/git.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Git Checks

on:
pull_request:
branches:
- main

jobs:
block-fixup:
runs-on: ubuntu-18.04

steps:
- uses: actions/checkout@v2.0.0
- name: Block Fixup Commit Merge
uses: 13rac1/block-fixup-merge-action@v2.0.0
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
shamefully-hoist=true
5 changes: 3 additions & 2 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import nx from '@nx/eslint-plugin';
import nx from '@nx/eslint-plugin'

export default [
...nx.configs['flat/base'],
Expand All @@ -9,6 +9,7 @@ export default [
'**/dist',
'**/vite.config.*.timestamp*',
'**/vitest.config.*.timestamp*',
'playgrounds',
],
},
{
Expand Down Expand Up @@ -43,4 +44,4 @@ export default [
// Override or add rules here
rules: {},
},
];
]
Loading
Loading