From 47932e2af8541864a157846ea49df36a24afa852 Mon Sep 17 00:00:00 2001 From: zuramai Date: Mon, 13 Jun 2022 07:30:26 +0700 Subject: [PATCH] ci: change npm to yarn --- .github/workflows/main.yml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 693d4f4..9173895 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -12,11 +12,16 @@ jobs: steps: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 + + - name: Install Dependencies + uses: borales/actions-yarn@v3.0.0 + with: + cmd: install # will run `yarn install` command - - name: Install and Build 🔧 - run: | - npm install - npm run dist + - name: Build pages + uses: borales/actions-yarn@v3.0.0 + with: + cmd: dist - name: Deploy 🚀 uses: JamesIves/github-pages-deploy-action@v4.2.5