Bump ip from 2.0.0 to 2.0.1 #60
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 is optional and if present must be used | |
# in the url path for badges | |
name: Test | |
# Run on a dev branch | |
on: | |
push: | |
branches: | |
- dev | |
pull_request: | |
branches: | |
- master | |
jobs: | |
Test: | |
name: Test | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [18.16] | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v3 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
# npm ci REQUIRES a package-lock.json file | |
- name: Install Fresh Dependencies | |
run: | | |
rm package-lock.json | |
npm install | |
- name: Build library | |
run: npm run build | |
- name: Run Unit Tests | |
run: npm run test |