Fixed npm version badge. Bumped to v0.1.2 #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 | |
on: | |
workflow_dispatch: | |
pull_request: | |
branches: ['master'] | |
env: | |
HOMEBREW_NO_INSTALL_CLEANUP: 1 | |
jobs: | |
build_and_test: | |
name: ${{ matrix.name }} | |
runs-on: ${{ matrix.os }} | |
defaults: | |
run: | |
shell: bash | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- name: macOS | |
os: macos-14 | |
steps: | |
- name: Installing OSX utils | |
if: ${{ matrix.name == 'macOS' }} | |
run: brew install osxutils | |
- name: Checking out code | |
uses: actions/checkout@v3 | |
with: | |
submodules: true | |
- name: Install dependencies | |
run: npm install | |
- name: Lint, install tests, and build package. | |
run: npm run build | |
- name: Perform single test run. | |
run: npm run test run |