Skip to content

Merge pull request #17 from IDuxFE/feat-switch-to-esm #33

Merge pull request #17 from IDuxFE/feat-switch-to-esm

Merge pull request #17 from IDuxFE/feat-switch-to-esm #33

Workflow file for this run

name: Deploy Pages
on:
push:
branches:
- main
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install pnpm
uses: pnpm/action-setup@v2.0.1
with:
version: 6.23.2
- name: Set node version to 16
uses: actions/setup-node@v2
with:
node-version: 16
cache: "pnpm"
- run: pnpm install
- name: Build
run: pnpm run build
- name: Deploy
uses: JamesIves/github-pages-deploy-action@releases/v3
with:
ACCESS_TOKEN: ${{ secrets.PAGES_TOKEN }}
BRANCH: gh-pages
repositoryName: IDuxFE/idux-playground
FOLDER: dist