Skip to content

add javascript vite boilerplate #99

add javascript vite boilerplate

add javascript vite boilerplate #99

Workflow file for this run

name: JavaScript
on:
push:
paths:
- javascript/**
- .github/workflows/javascript.yaml
jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Deploy Prepare
run: |
echo "SHORT_SHA=`echo ${GITHUB_SHA} | cut -c1-8`" >> $GITHUB_ENV
echo "DEPLOY_URL=javascript" >> $GITHUB_ENV
- name: Deploy Commit
run: |
echo "SHORT_SHA=${SHORT_SHA}"
echo "DEPLOY_URL=commits/${SHORT_SHA}/javascript" >> $GITHUB_ENV
if: github.ref != 'refs/heads/main'
- name: Deploy URL
run: echo "DEPLOY_URL=${DEPLOY_URL}"
- uses: actions/setup-node@v2
with:
node-version: '15.x'
registry-url: 'https://registry.npmjs.org'
scope: '@hal9ai'
- run: yarn install
working-directory: ./javascript