Skip to content

Bump cookie and express #4476

Bump cookie and express

Bump cookie and express #4476

Workflow file for this run

name: CI
on:
pull_request:
push:
branches:
- 'main'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout commit
uses: actions/checkout@v4
- name: Install Node
uses: actions/setup-node@v4.0.3
with:
node-version: '20.x'
- name: Install npm packages
run: |
set -e
npm install
- name: Build UI
run: |
set -e
npm run build:production
- name: Run tests
run: |
set -e
npm test
- name: Run eslint
run: |
set -e
npm run lint
- name: Generate docs
run: |
set -e
npm run docs
mv ./docs ./dist/
- name: Deploy
if: github.repository == 'wooferzfg/tww-rando-tracker' && github.ref == 'refs/heads/main'
uses: peaceiris/actions-gh-pages@v4.0.0
with:
personal_token: ${{ secrets.GH_PAGES_DEPLOY }}
force_orphan: true
publish_branch: gh-pages-main
publish_dir: ./dist