diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..c99a168 --- /dev/null +++ b/.github/workflows/test.yml @@ -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