[改善] eslint+prettierからbiomeに変更 #17
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: Playwright Tests | |
on: | |
push: | |
branches: [master, develop] | |
pull_request: | |
branches: [master, develop] | |
jobs: | |
test: | |
timeout-minutes: 60 | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: "20" | |
- name: allow write in work dir | |
run: sudo chmod -R 777 . | |
- name: Install Dependencies | |
run: | | |
npm -g install pnpm | |
pnpm install | |
pnpm playwright install-deps | |
pnpm playwright install firefox | |
- name: Building niconicomments | |
run: | | |
pnpm build | |
- name: Run Playwright tests | |
run: pnpm playwright test | |
- uses: actions/upload-artifact@v3 | |
if: always() | |
with: | |
name: test-results | |
path: test-results/ | |
retention-days: 30 |