diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9c94a27..1d2d853 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -2,7 +2,7 @@ name: Build on: push: - branches: [ main ] + branches: [main] jobs: build: @@ -13,21 +13,20 @@ jobs: node-version: [14.x] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v2 - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v1 - with: - node-version: ${{ matrix.node-version }} + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v1 + with: + node-version: ${{ matrix.node-version }} - - name: Build - run: | - yarn - yarn run compile:ext-worker - yarn run build + - name: Build + run: | + yarn + yarn run build - - name: Deploy to Github Pages - uses: peaceiris/actions-gh-pages@v3 - with: - github_token: ${{ secrets.GITHUB_TOKEN }} - publish_dir: ./dist + - name: Deploy to Github Pages + uses: peaceiris/actions-gh-pages@v3 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + publish_dir: ./dist diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 54884ef..b3fcd9c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,5 +15,4 @@ jobs: - name: Run CI run: | yarn - yarn compile:ext-worker yarn build