feat: github actions

This commit is contained in:
ex_zhangwenlei@exiot.cmcc
2024-01-13 09:29:02 +08:00
parent 05086935a6
commit be6c762293

View File

@@ -21,13 +21,16 @@ jobs:
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
with:
version: 8
- name: Use Node.js ${{ matrix.node-version }} - name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3 uses: actions/setup-node@v3
with: with:
node-version: ${{ matrix.node-version }} node-version: ${{ matrix.node-version }}
cache: 'pnpm' cache: 'pnpm'
- run: pnpm install - run: pnpm install
- run: npnpm builld - run: pnpm builld
- name: Deploy to gh-pages - name: Deploy to gh-pages
uses: crazy-max/ghaction-github-pages@v2 uses: crazy-max/ghaction-github-pages@v2
with: with: