Skip to content

Merge pull request #70 from floriscornel/dependabot/github_actions/ac… #15

Merge pull request #70 from floriscornel/dependabot/github_actions/ac…

Merge pull request #70 from floriscornel/dependabot/github_actions/ac… #15

Workflow file for this run

name: Main Push Workflow
on:
push:
branches:
- main
jobs:
check:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: "16"
cache: "yarn"
- name: Install project dependencies
run: yarn
- name: Run tests
run: yarn test
- name: Update Code Coverage
run: yarn cov:send
- name: Update docs
run: yarn doc:html
- name: Deploy with gh-pages
run: |
git remote set-url origin https://git:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git
npx gh-pages -d build/docs -u "github-actions-bot <support+actions@github.com>" -m "[ci skip] Updates"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}