Skip to content

0.2.29

0.2.29 #45

Workflow file for this run

name: πŸš€ Release
on:
release:
types: [published]
jobs:
release:
name: πŸš€ Release
runs-on: ubuntu-latest
steps:
- name: πŸ“š Checkout
uses: actions/checkout@v3
# Setup .npmrc file to publish to npm
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: "lts/*"
registry-url: "https://registry.npmjs.org"
scope: "@shyft-to"
- name: Install dependencies
run: npm ci
- name: πŸ›  Build
run: npm run build
- name: πŸš€ Publish
run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
- name: πŸ“– Create the docs directory locally in CI
run: npm run prepare-doc
- name: Deploy docs to Github pages πŸš€
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: docs