Skip to content

Fixed Fire Function #23

Fixed Fire Function

Fixed Fire Function #23

Workflow file for this run

name: Publish NPM Package
on:
release:
types: [published]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Setup NodeJS
uses: actions/setup-node@v2
with:
node-version: 18
registry-url: https://registry.npmjs.org
- name: Install Dependencies
run: npm install
- name: Build SDK
run: npm run build
- name: Configure Project-Level .npmrc File
run: npm config set --location=project @adzerk:registry=https://'${NPM_REGISTRY}' //'${NPM_REGISTRY}'/:_authToken='${NPM_SECRET}'
- name: Publish to NPM
run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
NPM_REGISTRY: registry.npmjs.org
NPM_SECRET: ${{ secrets.NPM_TOKEN }}