From f1f155739a1c11a3bf45ea69e47b30375db69afd Mon Sep 17 00:00:00 2001 From: bhc Date: Sat, 21 Oct 2023 02:54:51 +0300 Subject: [PATCH] Build and Test Action --- .github/workflows/{vitest.yml => test.yml} | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) rename .github/workflows/{vitest.yml => test.yml} (92%) diff --git a/.github/workflows/vitest.yml b/.github/workflows/test.yml similarity index 92% rename from .github/workflows/vitest.yml rename to .github/workflows/test.yml index 0cfe5b3..e3a07e6 100644 --- a/.github/workflows/vitest.yml +++ b/.github/workflows/test.yml @@ -1,5 +1,5 @@ # Name of this action -name: Vitest Automatic Testing +name: Build and Test # Event triggers on pull request event # For more detail visit https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#on @@ -9,9 +9,9 @@ on: pull_request # For more detail on this section visit https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobs jobs: # ID of the job - run-vitest: + run-test: # Name of the job as it will be displayed in GitHub - name: Vitest + name: Build and Test # Machine which this action will be run on. For a list of all the machines available/how to run on self hosted machine visit # https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idruns-on runs-on: ubuntu-latest @@ -32,9 +32,6 @@ jobs: - name: Install all dependencies run: npm install - - name: Run Jest Tests - run: npm run test - - name: build env: BASE_PATH: '/${{ github.event.repository.name }}' @@ -45,4 +42,4 @@ jobs: uses: actions/upload-pages-artifact@v2 with: # this should match the `pages` option in your adapter-static options - path: 'build/' \ No newline at end of file + path: 'build/'