From 415803912b287e5c4745bfdfa4c128a5dbc36ca3 Mon Sep 17 00:00:00 2001 From: baoyachi Date: Thu, 28 Nov 2024 11:56:50 +0800 Subject: [PATCH] Update check.yml --- .github/workflows/check.yml | 64 ++++++++++++++++++------------------- 1 file changed, 32 insertions(+), 32 deletions(-) diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 02c250d..20973f3 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -93,43 +93,43 @@ jobs: uses: coverallsapp/github-action@master with: github-token: ${{ secrets.GITHUB_TOKEN }} - deploy-pages: - if: github.actor!= 'dependabot[bot]' - runs-on: ubuntu-latest - needs: [ test ] - steps: - - name: Checkout repository - uses: actions/checkout@v4 + # deploy-pages: + # if: github.actor!= 'dependabot[bot]' + # runs-on: ubuntu-latest + # needs: [ test ] + # steps: + # - name: Checkout repository + # uses: actions/checkout@v4 - - name: Setup Node.js - uses: actions/setup-node@v4 - with: - node-version: 18 - - uses: pnpm/action-setup@v4 - name: Install pnpm - with: - version: 8 - run_install: false + # - name: Setup Node.js + # uses: actions/setup-node@v4 + # with: + # node-version: 18 + # - uses: pnpm/action-setup@v4 + # name: Install pnpm + # with: + # version: 8 + # run_install: false - - name: Install Rust and wasm-pack - run: | - rustup update stable - cargo +stable install wasm-pack + # - name: Install Rust and wasm-pack + # run: | + # rustup update stable + # cargo +stable install wasm-pack - - name: Build WebAssembly module with wasm-pack - run: wasm-pack build --target bundler --out-dir ../site/pkg --release - working-directory: ./playground/wasm + # - name: Build WebAssembly module with wasm-pack + # run: wasm-pack build --target bundler --out-dir ../site/pkg --release + # working-directory: ./playground/wasm - - name: Build project - run: pnpm install && pnpm run build - working-directory: ./playground/site + # - name: Build project + # run: pnpm install && pnpm run build + # working-directory: ./playground/site - - name: Deploy to GitHub Pages - uses: peaceiris/actions-gh-pages@v4 - if: ${{github.ref == 'refs/heads/master' }} - with: - personal_token: ${{ secrets.GITHUB_TOKEN }} - publish_dir: ./playground/site/dist + # - name: Deploy to GitHub Pages + # uses: peaceiris/actions-gh-pages@v4 + # if: ${{github.ref == 'refs/heads/master' }} + # with: + # personal_token: ${{ secrets.GITHUB_TOKEN }} + # publish_dir: ./playground/site/dist publish-crate: if: startsWith(github.ref, 'refs/tags/v') runs-on: ubuntu-latest