Skip to content

3.3.0

3.3.0 #18

name: Build and Deploy
on:
push:
tags:
- v*
permissions:
contents: write
jobs:
build-and-deploy:
runs-on: ubuntu-latest
environment: deploy
steps:
- name: Checkout πŸ›ŽοΈ
uses: actions/checkout@v4
- name: Use Node.js πŸ˜‚
uses: actions/setup-node@v4
with:
node-version: 18
- name: Install and Build πŸ”§
run: |
npm ci
npm run build-ci
- name: Deploy πŸš€
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: .
- name: Publish to NPM πŸ“–
uses: JS-DevTools/npm-publish@v2
with:
token: ${{ secrets.NPM_TOKEN }}