Skip to content

Merge pull request #168 from essif-lab/dependabot/npm_and_yarn/semver… #386

Merge pull request #168 from essif-lab/dependabot/npm_and_yarn/semver…

Merge pull request #168 from essif-lab/dependabot/npm_and_yarn/semver… #386

Workflow file for this run

name: framework
on:
pull_request:
branches: [master]
push:
branches: [master]
jobs:
checks:
if: github.event_name != 'push'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: '16.x'
- name: Test Build
run: |
yarn install --frozen-lockfile
STAGING=true yarn docusaurus parse
STAGING=true yarn docusaurus glossary
STAGING=true yarn build
mv build public
gh-release:
if: github.event_name != 'pull_request'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: '16.x'
- uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.GH_PAGES_DEPLOY }}
- name: Release to GitHub Pages
env:
USE_SSH: true
GIT_USER: "MarIliadi"
run: |
git config --global user.email "[email protected]"
git config --global user.name "MarIliadi"
yarn install --frozen-lockfile
STAGING=true yarn docusaurus parse
STAGING=true yarn docusaurus glossary
STAGING=true yarn build
mv build public
STAGING=true yarn deploy