Skip to content

fix(Test): 🐛 fix test params forget #5

fix(Test): 🐛 fix test params forget

fix(Test): 🐛 fix test params forget #5

Workflow file for this run

name: Test
on:
push:
branches:
- "**"
- "!main"
- "!master"
pull_request:
branches:
- "**"
- "!main"
- "!master"
defaults:
run:
shell: bash
jobs:
prepare:
name: Prepare
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup PNPM
uses: pnpm/action-setup@v3
with:
version: 8
run_install: false
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 20
cache: "pnpm"
- name: Install dependencies
run: pnpm install
test:
name: Test
runs-on: ubuntu-latest
needs: prepare
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup PNPM
uses: pnpm/action-setup@v3
with:
version: 8
run_install: false
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 20
cache: "pnpm"
- name: Install dependencies
run: pnpm install
- name: Test
run: pnpm run test
- name: Create Pull Request
uses: peter-evans/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
commit-message: "chore: CI"
title: "chore: update dependencies"
body: "This PR updates dependencies"
branch: "chore/update-dependencies"
base: "main"
labels: "dependencies"
assignees: "octocat"