Skip to content
This repository was archived by the owner on Mar 16, 2025. It is now read-only.

Merge pull request #39 from hedzr/dependabot/npm_and_yarn/prismjs-1.30.0 #103

Merge pull request #39 from hedzr/dependabot/npm_and_yarn/prismjs-1.30.0

Merge pull request #39 from hedzr/dependabot/npm_and_yarn/prismjs-1.30.0 #103

Workflow file for this run

name: Node.js CI
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.x] # [8.x, 10.x, 12.x]
steps:
- uses: actions/checkout@v2
with:
persist-credentials: false
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: yarn install # npm install
- run: yarn build # npm run build --if-present
- run: |
touch docs/.vuepress/dist/.nojekyll
#- run: npm test
# env:
# CI: true
- name: Deploy
uses: JamesIves/github-pages-deploy-action@3.7.1
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages # The branch the action should deploy to.
FOLDER: docs/.vuepress/dist # The folder the action should deploy.