Add build check

This commit is contained in:
TSR Berry 2023-07-02 04:18:35 +02:00
parent 6293255dcd
commit f63446241f
No known key found for this signature in database
GPG key ID: 52353C0A4CCA15E2

View file

@ -49,3 +49,23 @@ jobs:
- name: Run Prettier - name: Run Prettier
run: node_modules/.bin/prettier -c . run: node_modules/.bin/prettier -c .
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
with:
version: latest
- uses: actions/setup-node@v3
with:
node-version-file: ".nvmrc"
cache: "pnpm"
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Build package
run: pnpm build