Skip to content

Merge branch 'main' of github.com:issuu/issuu-api-sdk #15

Merge branch 'main' of github.com:issuu/issuu-api-sdk

Merge branch 'main' of github.com:issuu/issuu-api-sdk #15

name: Publish npm Package and Run Tests
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Install Dependencies
run: npm install
- name: Authenticate with npm
run: echo "//registry.npmjs.org/:_authToken=${NODE_AUTH_TOKEN}" > ~/.npmrc
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_CI_TOKEN }}
- name: Publish Package
run: npm publish