Skip to content
This repository has been archived by the owner on Oct 30, 2024. It is now read-only.

Bump @babel/traverse from 7.16.0 to 7.23.2 in /docs #48

Bump @babel/traverse from 7.16.0 to 7.23.2 in /docs

Bump @babel/traverse from 7.16.0 to 7.23.2 in /docs #48

Workflow file for this run

name: documentation
on:
pull_request:
paths:
- 'docs/**'
branches:
- main
push:
paths:
- 'docs/**'
branches:
- main
jobs:
checks:
if: github.event_name != 'push'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: '16.x'
- name: Test Build
run: |
if [ -e yarn.lock ]; then
yarn install --frozen-lockfile
elif [ -e package-lock.json ]; then
npm ci
else
npm i
fi
npm run build
working-directory: docs
gh-release:
if: github.event_name != 'pull_request'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- 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: git
run: |
git config --global user.email "[email protected]"
git config --global user.name "sirse"
if [ -e yarn.lock ]; then
yarn install --frozen-lockfile
elif [ -e package-lock.json ]; then
npm ci
else
npm i
fi
npm run deploy
working-directory: docs