Skip to content

Commit

Permalink
ci: set node version
Browse files Browse the repository at this point in the history
  • Loading branch information
PeachScript committed Jul 31, 2023
1 parent d6a0eeb commit e641457
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/preview-build.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
name: Preview Build

on:
on:
pull_request:
types: [opened, synchronize, reopened]

jobs:
build-preview:
runs-on: ubuntu-latest
container: node:12

steps:
- uses: actions/checkout@v2
Expand All @@ -28,10 +29,10 @@ jobs:
name: dist
path: dist.zip
retention-days: 5

- name: build mobile
run: |
DUMI_THEME=./packages/theme-mobile yarn docs:build
DUMI_THEME=./packages/theme-mobile yarn docs:build
- run: |
zip -r dist-mobile.zip dist
Expand Down

0 comments on commit e641457

Please sign in to comment.