diff --git a/.github/workflows/hello.yml b/.github/workflows/unit-test.yml similarity index 77% rename from .github/workflows/hello.yml rename to .github/workflows/unit-test.yml index ee870f3..c38c11d 100644 --- a/.github/workflows/hello.yml +++ b/.github/workflows/unit-test.yml @@ -26,7 +26,7 @@ jobs: - uses: actions/checkout@v4 - name: Setup Node.js environment - uses: actions/setup-node@v4.0.2 + uses: actions/setup-node@v4 with: # Version Spec of the version to use. Examples: 12.x, 10.15.1, >=10.15.0. node-version: 20 @@ -35,17 +35,7 @@ jobs: # Used to specify the path to a dependency file: package-lock.json, yarn.lock, etc. Supports wildcards or a list of file names for caching multiple dependencies. # cache-dependency-path: # optional + - name: Install deps + run: npm ci - name: Run Tests run: npm run test:ci - - # Runs a single command using the runners shell - - name: Run a one-line script - run: echo Hello, world! - - # Runs a set of commands using the runners shell - - name: Run a multi-line script - run: | - echo Add other actions to build, - echo test, and deploy your project. - node -v - npm -v