Skip to content

chore(deps): bump http-proxy-middleware from 2.0.7 to 2.0.9 #6

chore(deps): bump http-proxy-middleware from 2.0.7 to 2.0.9

chore(deps): bump http-proxy-middleware from 2.0.7 to 2.0.9 #6

Workflow file for this run

name: deploy
on:
pull_request:
branches:
- main
types:
- closed
permissions:
id-token: write
contents: read
pages: write
concurrency:
group: pages
cancel-in-progress: false
jobs:
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: yarn
- id: yarn-cache-path
run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT
- uses: actions/cache@v4
with:
path: ${{ steps.yarn-cache-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Build demo page
run: |
yarn install --immutable
yarn demo
- name: Upload demo page
uses: actions/upload-pages-artifact@v3
with:
path: './demo/public'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
- name: Publish to NPMJS
uses: JS-DevTools/npm-publish@v3
with:
token: ${{ secrets.NPM_TOKEN }}