Skip to content

Commit

Permalink
Merge pull request #83 from pnetwork-association/ci/add-changeset-check
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviera9 authored Apr 4, 2024
2 parents 8fe1bd1 + aa0a96e commit 24fda94
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/run-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,20 @@ jobs:
node-version: [18.x]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
cache-dependency-path: ./package-lock.json
- run: npm ci

- name: Check changesets
if: github.base_ref == 'develop'
run: npx changeset status --since=origin/develop

- name: Run tests
run: CI=true npm test

0 comments on commit 24fda94

Please sign in to comment.