Skip to content

Commit

Permalink
Update ci
Browse files Browse the repository at this point in the history
  • Loading branch information
mdirolf committed Jun 17, 2024
1 parent 0f9a650 commit d8bb7ce
Show file tree
Hide file tree
Showing 4 changed files with 49 additions and 581 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,23 +8,23 @@ jobs:
- uses: actions/setup-node@v3
with:
node-version: '20'
cache: 'yarn'
cache-dependency-path: 'app/yarn.lock'
cache: 'pnpm'
cache-dependency-path: 'pnpm-lock.yaml'
- name: Install modules
working-directory: ./app
run: yarn install --frozen-lockfile
run: pnpm install --frozen-lockfile
- name: Build i18n files
working-directory: ./app
run: yarn compileI18n
run: pnpm compileI18n
- name: Copy dummy fb config
working-directory: ./app
run: cp ./firebaseConfig.emulators.ts ./firebaseConfig.ts
- name: Lint
working-directory: ./app
run: yarn lint
run: pnpm lint
- name: Check formatting
working-directory: ./app
run: yarn checkFormat
run: pnpm checkFormat
- name: Run tests
working-directory: ./app
run: |
Expand Down
20 changes: 10 additions & 10 deletions app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,10 @@
"date-fns": "^3.6.0",
"fast-deep-equal": "^3.1.3",
"feed": "^4.2.2",
"firebase": "10.10.0",
"firebase-admin": "^12.0.0",
"fp-ts": "^2.16.5",
"hast-util-to-html": "^9.0.0",
"firebase": "^10.12.1",
"firebase-admin": "^12.1.1",
"fp-ts": "^2.16.6",
"hast-util-to-html": "^9.0.1",
"hast-util-to-string": "^3.0.0",
"hast-util-truncate": "^2.0.0",
"idb-keyval": "6.2.1",
Expand Down Expand Up @@ -111,18 +111,18 @@
"@types/jest": "^29.5.12",
"@types/jest-in-case": "^1.0.9",
"@types/levelup": "^5.1.5",
"@types/lodash": "^4.17.0",
"@types/lodash": "^4.17.4",
"@types/mdast": "^4.0.4",
"@types/node": "^20.12.7",
"@types/react": "^18.2.74",
"@types/react": "^18.3.3",
"@types/react-csv": "^1.1.10",
"@types/react-dom": "^18.2.23",
"@types/react-window": "^1.8.8",
"@types/rocksdb": "^3.0.5",
"@types/twemoji-parser": "^13.1.4",
"@types/unist": "^3.0.2",
"@typescript-eslint/eslint-plugin": "^7.5.0",
"@typescript-eslint/parser": "^7.7.0",
"@typescript-eslint/eslint-plugin": "^7.10.0",
"@typescript-eslint/parser": "^7.10.0",
"browserslist-useragent-regexp": "^4.1.1",
"cmd-ts": "^0.13.0",
"csv": "^6.3.8",
Expand All @@ -136,7 +136,7 @@
"eslint-plugin-jsx-a11y": "^6.8.0",
"eslint-plugin-lingui": "^0.3.0",
"eslint-plugin-redos": "^4.4.5",
"firebase-tools": "^13.6.0",
"firebase-tools": "^13.10.1",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"jest-in-case": "^1.0.2",
Expand All @@ -156,4 +156,4 @@
"unist-util-remove-position": "^5.0.0",
"wait-for-expect": "^3.0.2"
}
}
}
14 changes: 7 additions & 7 deletions functions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
"@emotion/react": "^11.11.4",
"@google-cloud/firestore": "^7.7.0",
"@google-cloud/secret-manager": "^5.6.0",
"@types/lodash": "^4.17.4",
"@types/mime": "4.0.0",
"twemoji-parser": "^14.0.0",
"remark-rehype": "^11.1.0",
"date-fns": "^3.6.0",
"firebase": "^10.12.1",
"firebase-admin": "^12.1.1",
Expand All @@ -35,9 +35,7 @@
"mdast-util-from-markdown": "^2.0.0",
"rehype-external-links": "^3.0.0",
"remark-directive": "^3.0.0",
"remark-gfm": "^4.0.0",
"remark-rehype": "^11.1.0",
"twemoji-parser": "^14.0.0"
"remark-gfm": "^4.0.0"
},
"devDependencies": {
"@types/react": "^18.3.3",
Expand All @@ -46,7 +44,9 @@
"eslint": "^8.57.0",
"firebase-functions-test": "^3.2.0",
"firebase-tools": "^13.10.1",
"typescript": "^5.4.5"
"typescript": "^5.4.5",
"@types/lodash": "^4.17.4",
"@types/mime": "4.0.0"
},
"private": true
}
}
Loading

0 comments on commit d8bb7ce

Please sign in to comment.