Skip to content

Test

Test #39

Workflow file for this run

name: Test
on:
workflow_dispatch:
push:
branches-ignore:
- main
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16, 18, 20]
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
with:
version: 8
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: pnpm
- run: pnpm install --frozen-lockfile
- run: pnpm lint
- run: pnpm test
env:
APNS_PUSH_TOKEN: ${{ secrets.APNS_PUSH_TOKEN }}
APNS_SIGNING_KEY: ${{ secrets.APNS_SIGNING_KEY }}