Skip to content

[Snyk] Upgrade axios from 1.5.0 to 1.5.1 #16

[Snyk] Upgrade axios from 1.5.0 to 1.5.1

[Snyk] Upgrade axios from 1.5.0 to 1.5.1 #16

Workflow file for this run

name: Run Tests and Generate Docs
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: "latest"
- name: Install Dependencies
run: npm install
- name: Setup Bun
uses: oven-sh/setup-bun@v1
with:
bun-version: latest
- name: Run Tests
run: bun test
- name: Build Documentation
uses: andstor/jsdoc-action@v1
with:
source_dir: ./lib # Replace with your source directory
output_dir: ./docs # Output directory
config_file: jsdoc.json # Optional, if you have a JSDoc config file
template: better-docs # Optional, if you want to use a specific template
front_page: README.md # Optional, if you want a custom front page
- name: Upload Documentation as Artifact
uses: actions/upload-artifact@v3
with:
name: documentation
path: ./docs/
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.TUSK_DEPLOY_TOKEN }}
publish_dir: ./docs/