Skip to content

0.1.0

0.1.0 #24

Workflow file for this run

name: Shipp it baby
on:
push:
branches:
- main
jobs:
build-and-deploy:
concurrency: ci-${{ github.ref }} # Recommended if you intend to make multiple deployments in quick succession.
runs-on: ubuntu-latest
env:
working-directory: ./demos/vue
steps:
- name: Checkout 🛎️
uses: actions/checkout@v3
- name: Setup Node 16
uses: actions/setup-node@v3
with:
node-version: "16"
cache: "npm"
cache-dependency-path: demos/vue/package-lock.json
- name: Install dependencies
if: steps.gimme_cache.outputs.cache-hit == false
run: npm install
working-directory: ${{env.working-directory}}
- name: Build 🔧
run: npm run build
working-directory: ${{env.working-directory}}
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: ./demos/vue/dist # The folder the action should deploy.