Skip to content

Merge pull request #4 from AlexHHPS/feature/migrate_to_new_format #13

Merge pull request #4 from AlexHHPS/feature/migrate_to_new_format

Merge pull request #4 from AlexHHPS/feature/migrate_to_new_format #13

Workflow file for this run

name: test
on: push
jobs:
build_and_test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
name: Install pnpm
with:
version: latest
- uses: actions/setup-node@v4
with:
node-version-file: ".nvmrc"
cache: "pnpm"
# Alternative
# - name: Cache node modules
# uses: actions/cache@v3
# env:
# cache-name: cache-node-modules
# with:
# path: ~/.pnpm-store
# key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/pnpm-lock.yaml') }}
# restore-keys: |
# ${{ runner.os }}-build-${{ env.cache-name }}-
# ${{ runner.os }}-build-
# ${{ runner.os }}-
- name: Install Dependencies
run: pnpm i --frozen-lockfile
- name: Build
run: pnpm build
- name: Test
run: pnpm test