Skip to content

Bump eslint-plugin-jsdoc from 46.5.1 to 46.6.0 (#264) #108

Bump eslint-plugin-jsdoc from 46.5.1 to 46.6.0 (#264)

Bump eslint-plugin-jsdoc from 46.5.1 to 46.6.0 (#264) #108

Workflow file for this run

name: Build demo
on:
push:
branches:
- main
workflow_dispatch:
jobs:
Build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
- run: npm ci
- run: npm run lint
- run: npm run build
- name: Create temporary gh-pages-dist dir
run: |-
mkdir gh-pages-dist
cp -R demo gh-pages-dist/demo/
cp -R dist gh-pages-dist/dist/
- uses: actions/upload-pages-artifact@v1
with:
path: gh-pages-dist
Deploy:
needs: Build
# Grant GITHUB_TOKEN the permissions required to make a Pages deployment
permissions:
pages: write # to deploy to Pages
id-token: write # to verify the deployment originates from an appropriate source
# Deploy to the github-pages environment
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}demo/index.html
# Specify runner + deployment step
runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1