-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
yarn to bun #64
yarn to bun #64
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,16 +14,16 @@ jobs: | |
- name: Checkout code | ||
uses: actions/checkout@v3 | ||
|
||
- name: Setup Node.js | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version-file: 'package.json' | ||
- name: setup bun | ||
uses: oven-sh/setup-bun@v1 | ||
|
||
- run: npm i -g @antfu/ni | ||
|
||
- name: Install dependencies | ||
run: yarn install --frozen-lockfile | ||
run: nci | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 依存関係のインストールに |
||
|
||
- name: Start web app (example using Vite) | ||
run: yarn dev & | ||
run: nr dev & | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Web アプリを起動するコマンドが |
||
|
||
- name: Run Puppeteer script to capture screenshot | ||
id: capture-screenshot | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,16 +11,16 @@ jobs: | |
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
||
- name: setup node | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version-file: 'package.json' | ||
- name: setup bun | ||
uses: oven-sh/setup-bun@v1 | ||
|
||
- run: npm i -g @antfu/ni | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
|
||
- name: install dependencies | ||
run: yarn install --frozen-lockfile | ||
run: nci | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 依存関係のインストールに |
||
|
||
- name: lint | ||
run: yarn lint && yarn type-check | ||
run: nr lint && nr type-check | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Lint と型チェックのコマンドが |
||
|
||
- name: test | ||
run: yarn test | ||
run: nr test | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. テストコマンドが |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,16 +15,16 @@ jobs: | |
with: | ||
fetch-depth: 0 | ||
|
||
- name: setup node | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version-file: 'package.json' | ||
- name: setup bun | ||
uses: oven-sh/setup-bun@v1 | ||
|
||
- run: npm i -g @antfu/ni | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
|
||
- name: install dependencies | ||
run: yarn install --frozen-lockfile | ||
run: nci | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 依存関係のインストールに |
||
|
||
- name: lint | ||
run: yarn lint && yarn type-check | ||
run: nr lint && nr type-check | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Lint と型チェックのコマンドが |
||
|
||
create_tag: | ||
runs-on: ubuntu-latest | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,16 +22,16 @@ jobs: | |
with: | ||
fetch-depth: 0 | ||
|
||
- name: Setup Node.js | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version-file: 'package.json' | ||
- name: setup bun | ||
uses: oven-sh/setup-bun@v1 | ||
|
||
- run: npm i -g @antfu/ni | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
|
||
- name: Install dependencies | ||
run: yarn install --frozen-lockfile | ||
run: nci | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 依存関係のインストールに |
||
|
||
- name: Build Electron app | ||
run: yarn dist | ||
run: nr dist | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Electron アプリのビルドコマンドが |
||
|
||
- name: Upload artifacts | ||
uses: actions/upload-artifact@v3 | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
npm i -g @antfu/ni
の実行は、Bun を使用しているプロジェクトで npm コマンドを直接使用することの一貫性の欠如を示しています。bun install @antfu/ni
またはni
の Bun によるサポートを確認してください。