This repository has been archived by the owner on Jun 6, 2024. It is now read-only.
bump dev versions (#3) #7
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: Build & Test | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
build: | |
name: build & test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Setup Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: "20.x" | |
registry-url: 'https://registry.npmjs.org/' | |
- name: Install Node dependencies | |
run: npm ci | |
- name: Run Node build (if present) | |
run: npm run build --if-present | |
- name: Run Tests (if present) | |
run: npm test --if-present |