LeaveGuardを削除 (#359) #555
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test (misskey-js) | |
on: | |
push: | |
branches: | |
- master | |
- develop | |
- develop-mame | |
pull_request: | |
permissions: {} | |
jobs: | |
test: | |
name: test (misskey-js) | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
steps: | |
- name: Checkout | |
uses: actions/[email protected] | |
- name: Setup pnpm | |
uses: pnpm/action-setup@v4 | |
- name: Setup Node.js | |
uses: actions/[email protected] | |
with: | |
node-version-file: '.node-version' | |
cache: 'pnpm' | |
- name: Enable Corepack | |
run: corepack enable | |
- name: Install dependencies | |
run: pnpm install --frozen-lockfile | |
- name: Check if lock file is not modified | |
run: git diff --exit-code pnpm-lock.yaml | |
- name: Build misskey-js | |
run: pnpm --filter misskey-js run build | |
- name: Test | |
run: pnpm --filter misskey-js run test | |
- name: Upload coverage | |
uses: codecov/codecov-action@v4 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
file: ./packages/misskey-js/coverage/coverage-final.json | |
disable_search: true | |
flags: misskey-js |