FRB Schema for the CHIME Telescope #881
This file contains 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: Validate | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
test: | |
uses: nasa-gcn/.github/.github/workflows/node.yml@main | |
with: | |
test-options: | |
bump: | |
name: dry run of version bump | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '20.x' | |
- name: Configure git identity | |
run: | | |
git config --global user.email "[email protected]" | |
git config --global user.name "Your Name" | |
- name: Install package | |
run: npm ci | |
- name: Bump version | |
run: npm version patch | |
- name: Run validation | |
run: npm test |