Skip to content

Fix CVEs

Fix CVEs #32

Workflow file for this run

name: CI
on: push
env:
WORKING_DIR: ./playground
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 18.x
- name: Install packages
run: npm ci
working-directory: ${{ env.WORKING_DIR }}
- name: Build
run: npm run build
working-directory: ${{ env.WORKING_DIR }}
- name: Publish into gh-pages
if: github.ref == 'refs/heads/main'
uses: s0/git-publish-subdir-action@v2.6.0
env:
REPO: self
BRANCH: gh-pages
FOLDER: ${{ env.WORKING_DIR }}/build
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}