Skip to content

Commit

Permalink
use pnpm and upgrade deps
Browse files Browse the repository at this point in the history
  • Loading branch information
Qusic committed Oct 12, 2023
1 parent d453dfb commit 4fe4c84
Show file tree
Hide file tree
Showing 15 changed files with 4,737 additions and 8,692 deletions.
1 change: 0 additions & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
package-lock.json
node_modules
addon/gn
build
14 changes: 9 additions & 5 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,11 @@ jobs:
with:
node-version: latest
check-latest: true
cache: npm
cache: pnpm
- name: Install Pnpm
uses: pnpm/action-setup@v2
with:
version: latest
- name: Install Python
uses: actions/setup-python@v4
with:
Expand Down Expand Up @@ -66,13 +70,13 @@ jobs:
key: ${{ runner.os }}-${{ hashFiles('addon/deps.json') }}
path: addon/gn
- name: Prepare Dependencies
run: npm ci
run: pnpm install --frozen-lockfile
- name: Build Debug
run: npm run debug
run: pnpm debug
- name: Run Test
run: npm test
run: pnpm test
- name: Build Release
run: npm run build
run: pnpm build
- name: Upload Archive
uses: actions/upload-artifact@v3
if: ${{ runner.os == 'Linux' }}
Expand Down
2 changes: 1 addition & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package-lock.json
pnpm-lock.yaml
node_modules
addon/gn
build
Expand Down
2 changes: 1 addition & 1 deletion addon/deps.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{
"name": "gn",
"repo": "https://gn.googlesource.com/gn",
"commit": "ffeea1b1fd070cb6a8d47154a03f8523486b50a7",
"commit": "182a6eb05d15cc76d2302f7928fdb4f645d52c53",
"patches": ["gn.patch"]
}
]
6 changes: 3 additions & 3 deletions jest.config.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type {Config} from '@jest/types'
import type {Config} from 'jest'

export default <Config.InitialOptions>{
export default {
roots: ['<rootDir>/src'],
transform: {'\\.tsx?$': 'ts-jest'},
}
} as Config
Loading

0 comments on commit 4fe4c84

Please sign in to comment.