Skip to content

v4.4.0

v4.4.0 #13

Workflow file for this run

name: Publish to NPM
on:
release:
types: [published]
env:
NODE_VERSION: '16.18.0'
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: 'Checkout GitHub Action'
uses: actions/checkout@v4.1.1
- name: Setup Node ${{ env.NODE_VERSION }} Environment
uses: actions/setup-node@v3.8.1
with:
node-version: ${{ env.NODE_VERSION }}
cache: npm
- name: 'Resolve Project Dependencies Using NPM'
shell: bash
run: |
pushd .
npm install
popd
- name: Build app
run: npm run build
- name: Submit app
uses: JS-DevTools/npm-publish@v2.2.2
with:
token: ${{ secrets.NPM_TOKEN }}