Skip to content

Fixes issues in #15 #71

Fixes issues in #15

Fixes issues in #15 #71

Workflow file for this run

name: Test, Build, and Release
on:
pull_request:
push:
jobs:
test_build_release:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: 18
cache: "npm"
- run: npm ci
# - run: npm run lint
- run: npm test
env:
GITHUB_OWNER: owner-nock-mocked
GITHUB_REPO: repo-nock-mocked
GITHUB_TOKEN: token-nock-mocked
- run: npm run build
- run: npm run semantic-release
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
# same as GH token since we're using the GH npm repo.
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}