Skip to content

Release 1.2.3

Release 1.2.3 #17

Workflow file for this run

name: Publish Package to npmjs
on:
release:
types: [published]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Node
uses: actions/setup-node@v2
with:
node-version: '16.x'
registry-url: 'https://registry.npmjs.org'
- name: Install dependencies
run: npm install
- name: Run eslint
run: npm run lint
- name: Run tests
run: npm run test
env:
BOTCITY_SERVER: ${{ secrets.BOTCITY_SERVER }}
BOTCITY_LOGIN: ${{ secrets.BOTCITY_LOGIN }}
BOTCITY_KEY: ${{ secrets.BOTCITY_KEY }}
- name: Execute build 🔧
run: npm run build
- name: Publish package on NPM 📦
run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}