Skip to content

Merge pull request #83 from Losant/SP-13326 #5

Merge pull request #83 from Losant/SP-13326

Merge pull request #83 from Losant/SP-13326 #5

Workflow file for this run

name: Run Tests
on:
push:
branches:
- master
pull_request:
types: ['opened', 'reopened', 'synchronize']
jobs:
test:
strategy:
matrix:
nodejs: [ '18', '20', '22' ]
runs-on: ubuntu-latest
permissions:
actions: write
contents: read
pull-requests: write
steps:
- name: Cancel Previous Runs
uses: styfle/[email protected]
with:
access_token: ${{ github.token }}
- name: Checkout
uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.nodejs }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.nodejs }}
- run: yarn install --frozen-lockfile
- run: yarn test