Skip to content

Update README.md

Update README.md #36

Workflow file for this run

name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
gitpage:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 16
- name: build and test
run: |
npm ci
tsc
node dist/cli.js -s ./example
- name: commit and push
run: |
cd output
git init
git config user.name "CI"
git config user.email "nodejs-ci@github.com"
git remote add secure-origin https://${{ secrets.NPM_CI }}@github.com/liao2000/${{ github.event.repository.name }}
git checkout -b gh-pages
git add .
git commit -m "Generated by CI"
git push --force secure-origin gh-pages