Skip to content

Merge pull request #1 from sasakura1994/sasakura1994-patch-1 #3

Merge pull request #1 from sasakura1994/sasakura1994-patch-1

Merge pull request #1 from sasakura1994/sasakura1994-patch-1 #3

Workflow file for this run

name: pnpm test
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '18' # Node.js のバージョンを指定します
- name: Cache pnpm modules
uses: actions/cache@v3
with:
path: ~/.pnpm-store
key: ${{ runner.os }}-pnpm-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-
- uses: pnpm/[email protected]
with:
version: 8.10.0
- run: pnpm i --frozen-lockfile
- name: Run tsc
run: node_modules/.bin/vue-tsc
- name: Run tests
run: pnpm test