Skip to content

Commit

Permalink
ci(github actions): add test workflow for pushes to branches
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredmcateer committed Jun 13, 2023
1 parent 10ecbbf commit 0a5f468
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Tests
on:
push:
branches:
- "*"
- "*/*"
- "**"
- "!main"
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v3

- name: Setup pnpm 💫
uses: pnpm/action-setup@v2
with:
version: 7.0.0

- name: Use Node.js 16.xa 💻
uses: actions/setup-node@v3
with:
version: 16
cache: pnpm

- name: Install Dependencies 🗂️
run: pnpm install --frozen-lockfile

- name: Test 🔬️
run: pnpm test

0 comments on commit 0a5f468

Please sign in to comment.