Skip to content

Update package.json

Update package.json #4

Workflow file for this run

# This is a basic workflow to help you get started with Actions
name: publish
# Controls when the workflow will run
on:
push:
branches: ['master']
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version-file: .nvmrc
cache: npm
cache-dependency-path: package-lock.json
registry-url: 'https://registry.npmjs.org'
- name: install
run: npm ci
- name: build
run: npm run build
- name: build lambda
run: npm run build-lambda
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}