mirror of
https://github.com/cupcakearmy/occulto.git
synced 2024-12-22 14:06:25 +00:00
31 lines
500 B
YAML
31 lines
500 B
YAML
name: "Run Tests"
|
|
|
|
on:
|
|
pull_request:
|
|
push:
|
|
branches:
|
|
- main
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Install Node
|
|
uses: actions/setup-node@v3
|
|
with:
|
|
node-version: 16
|
|
|
|
- name: Setup PNPM
|
|
uses: pnpm/action-setup@v2
|
|
with:
|
|
version: 7
|
|
|
|
- name: Install dependencies
|
|
run: pnpm install
|
|
- name: Run tests
|
|
run: pnpm run test
|