Skip to content

Commit

Permalink
see if github action works
Browse files Browse the repository at this point in the history
  • Loading branch information
eeerin committed Jun 18, 2024
1 parent aea7794 commit b718e9a
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Run Tests

on:
push:
branches:
- master
pull_request:
types: ['opened', 'reopened', 'synchronize']

jobs:
build:
strategy:
matrix:
nodejs: [ '12', '14', '16', '18', '20' ]
test:
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.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- run: yarn install --frozen-lockfile
- run: yarn test

0 comments on commit b718e9a

Please sign in to comment.