Skip to content

Commit

Permalink
Update dependencies (#255)
Browse files Browse the repository at this point in the history
* fix: Use npx, not yarn

* fix: Update common, server

* fix: Update comment

* chore: Update dependencies

* fix: Modify tests for poll

* fix: Use styled components

* fix: Update extention

* fix: update settings

* chore: Add package-lock.json

* fix: Use npx instead of yarn

* fix: Use npm to execute script

* fix: call eslint and jest through npm script

* fix: Use npm scripts

* fix: Use node 18.16.0

nodejs/node#51048

* fix: Fix type check

* fix: Update rollup-typescript plugin

* fix: Update rollup

rollup/rollup#4213

* fix: Update entry point

* fix: Add workaround for hung up on windows-latest

* fix: Add windows hungup workaround
  • Loading branch information
ihiroky committed Feb 11, 2024
1 parent 78ca1f2 commit cd25e85
Show file tree
Hide file tree
Showing 43 changed files with 12,654 additions and 7,445 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/build-extension.yml
Expand Up @@ -15,14 +15,16 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
cache: 'yarn'
- run: yarn install --frozen-lockfile --network-timeout 180000
node-version: 18.16.0
cache: 'npm'
- run: |
npm c set fetch-retry-maxtimeout 180000
npm ci
- name: Build apps
run: |
yarn --cwd packages/app/ clean
yarn --cwd packages/app/ build-extension
npm -w packages/app run clean
npm -w packages/app run build-extension
test "${GITHUB_REF#refs/heads/}" != "main" && (cd packages/app/ && node scripts/beta_manifest.mjs) || echo 'No manifest modification.'
env:
LC_WS_URL: wss://${{ inputs.host }}/app
Expand Down
40 changes: 23 additions & 17 deletions .github/workflows/build.yml
Expand Up @@ -15,15 +15,17 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
cache: 'yarn'
- run: yarn install --frozen-lockfile --network-timeout 180000
node-version: 18.16.0
cache: 'npm'
- run: |
npm c set fetch-retry-maxtimeout 180000
npm ci
- name: Run checks
run: |
yarn eslint --ext ts,tsx --max-warnings 0 packages/app/src
yarn --cwd packages/app/ tsc -b
yarn jest --reporters=default --reporters=jest-junit --coverage --coverageDirectory reports/coverage
npm run lint
npm run test
npm run typecheck
shell: bash

- name: Test report
Expand Down Expand Up @@ -53,14 +55,16 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
cache: 'yarn'
- run: yarn install --frozen-lockfile --network-timeout 180000
node-version: 18.16.0
cache: 'npm'
- run: |
npm c set fetch-retry-maxtimeout 180000
npm ci
- name: Build apps
run: |
yarn --cwd packages/app/ clean
yarn --cwd packages/app/ build-desktop
npm -w packages/app run clean
npm -w packages/app run build-desktop
env:
NODE_ENV: production

Expand Down Expand Up @@ -88,15 +92,17 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
cache: 'yarn'
- run: yarn install --frozen-lockfile --network-timeout 180000
node-version: 18.16.0
cache: 'npm'
- run: |
npm c set fetch-retry-maxtimeout 180000
npm ci
- name: Build apps
run: |
yarn --cwd packages/app/ clean
yarn --cwd packages/app/ build-comment
yarn --cwd packages/app/ build-servers
npm -w packages/app run clean
npm -w packages/app run build-comment
npm -w packages/app run build-servers
- name: Create release directory tree
run: |
Expand Down

0 comments on commit cd25e85

Please sign in to comment.