Merge pull request #163 from MikeMcC399/update/gha-main #45
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test and Release (if master) | |
on: | |
push: | |
pull_request: | |
branches: | |
- 'master' | |
jobs: | |
ci: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 22 | |
- run: npm ci | |
- run: npm test | |
# - if: github.ref == 'refs/heads/master' | |
# run: npm run semantic-release |