Skip to content

GET /best-route abortion signal added #68

GET /best-route abortion signal added

GET /best-route abortion signal added #68

Workflow file for this run

name: npm package deployment
on:
push:
branches: [ "main" ]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Clone repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Use Node 20
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'yarn'
- name: Install dependencies and code quality check
uses: ./.github/workflows/code-quality-check
- name: Create build
run: yarn build
- name: Initialise the NPM config
run: npm config set //registry.npmjs.org/:_authToken $NPM_TOKEN
env:
NPM_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
- name: Publish to npm
run: yarn publish
env:
NPM_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}