Compare commits

...

17 Commits

Author SHA1 Message Date
sweep-ai[bot] 6acb090bbf Merge main into sweep/fix-lockfile-compatibility 2023-11-14 17:16:33 +00:00
sweep-ai[bot] 498503a549 Merge main into sweep/fix-lockfile-compatibility 2023-11-14 17:09:23 +00:00
sweep-ai[bot] ffdf5798e0 Merge main into sweep/fix-lockfile-compatibility 2023-11-14 04:19:59 +00:00
sweep-ai[bot] 7eb60249d5 Merge main into sweep/fix-lockfile-compatibility 2023-11-14 04:00:14 +00:00
sweep-ai[bot] 0717f0d756 Merge main into sweep/fix-lockfile-compatibility 2023-11-14 02:10:42 +00:00
sweep-ai[bot] 0ac5434fdb Merge main into sweep/fix-lockfile-compatibility 2023-11-14 02:02:17 +00:00
sweep-ai[bot] c72c56c418 Merge main into sweep/fix-lockfile-compatibility 2023-11-14 01:59:04 +00:00
sweep-ai[bot] e2b6c38a67 Merge main into sweep/fix-lockfile-compatibility 2023-11-10 03:12:31 +00:00
sweep-ai[bot] 6f7c239840 Merge main into sweep/fix-lockfile-compatibility 2023-11-06 20:59:02 +00:00
sweep-ai[bot] c9e5815d65 Merge main into sweep/fix-lockfile-compatibility 2023-11-06 20:58:32 +00:00
sweep-ai[bot] 1bdb9355aa Merge main into sweep/fix-lockfile-compatibility 2023-11-06 19:00:13 +00:00
sweep-ai[bot] 40949f87a7 Merge main into sweep/fix-lockfile-compatibility 2023-11-06 18:51:15 +00:00
sweep-ai[bot] 98bffdf448 Merge main into sweep/fix-lockfile-compatibility 2023-11-03 01:05:39 +00:00
sweep-ai[bot] 179ce39196 feat: Updated .github/workflows/ci.yml 2023-10-31 16:20:28 +00:00
sweep-ai[bot] a1f22476ed feat: Add Prettier check to GitHub Actions workflo 2023-10-31 16:19:16 +00:00
sweep-ai[bot] 898c828b93 fix: ensure eslint only checks JavaScript and Type 2023-10-31 16:18:04 +00:00
sweep-ai[bot] 3f46953f1f feat: Updated CONTRIBUTING.md 2023-10-31 16:15:16 +00:00
3 changed files with 67 additions and 0 deletions
+28
View File
@@ -0,0 +1,28 @@
# .github/workflows/ci.yml
name: CI
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v2
with:
node-version: '14'
- name: Install dependencies
run: pnpm install
- name: Run eslint
run: npx eslint . --ext .js,.ts
- name: Run tests
run: pnpm run test
- name: Run Prettier
run: npx prettier --write '**/*.ts'
+25
View File
@@ -0,0 +1,25 @@
# .github/workflows/ci.yml
name: CI
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v2
with:
node-version: '14'
- name: Install dependencies
run: pnpm install
- name: Run eslint
run: npx eslint . --ext .js,.ts
- name: Run tests
run: pnpm run test
+14
View File
@@ -28,6 +28,20 @@ pnpm install
Note: we use pnpm in this repo, which has a lot of the same functionality and CLI options as npm but it does do some things better in a monorepo, like centralizing dependencies and caching.
PNPM's has documentation on its [workspace feature](https://pnpm.io/workspaces) and Turborepo had some [useful documentation also](https://turbo.build/repo/docs/core-concepts/monorepos/running-tasks).
### Handling Lockfile Issues
If you encounter issues with the lockfile not being compatible with your version of pnpm, you can delete the existing lockfile and run `pnpm install` to generate a new one. Here are the steps:
1. Delete the existing lockfile:
```
rm pnpm-lock.yaml
```
2. Run `pnpm install` to generate a new lockfile:
```
pnpm install
```
This should resolve any issues related to the lockfile.
### Running Typescript