From 42fe6f41b2245cb9b362da5d01d4679a75784418 Mon Sep 17 00:00:00 2001 From: Likhon Sheikh <156697347+likhonsible@users.noreply.github.com> Date: Sat, 20 Jan 2024 05:51:55 +0600 Subject: [PATCH] Update node.js.yml --- .github/workflows/node.js.yml | 60 ----------------------------------- 1 file changed, 60 deletions(-) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 53cf6cc..4c683a9 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -8,63 +8,3 @@ on: branches: [ "main" ] pull_request: branches: [ "main" ] - -jobs: - build: - - runs-on: ubuntu-latest - - strategy: - matrix: - node-version: [14.x, 16.x, 18.x] - # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ - - steps: - - uses: actions/checkout@v3 - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v3 - with: - node-version: ${{ matrix.node-version }} - cache: 'npm' - - run: npm ci - - run: npm run build --if-present - - run: npm test - - name: Cache - uses: actions/cache@v4.0.0 - with: - # A list of files, directories, and wildcard patterns to cache and restore - path: - # An explicit key for restoring and saving the cache - key: - # An ordered list of keys to use for restoring stale cache if no cache hit occurred for key. Note `cache-hit` returns false in this case. - restore-keys: # optional - # The chunk size used to split up large files during upload, in bytes - upload-chunk-size: # optional - # An optional boolean when enabled, allows windows runners to save or restore caches that can be restored or saved respectively on other platforms - enableCrossOsArchive: # optional, default is false - # Fail the workflow if cache entry is not found - fail-on-cache-miss: # optional, default is false - # Check if a cache entry exists for the given input(s) (key, restore-keys) without downloading the cache - lookup-only: # optional, default is false - # Run the post step to save the cache even if another step before fails - save-always: # optional, default is false - - - - name: Download a Build Artifact - uses: actions/download-artifact@v4.1.1 - with: - # Name of the artifact to download. If unspecified, all artifacts for the run are downloaded. - name: # optional - # Destination path. Supports basic tilde expansion. Defaults to $GITHUB_WORKSPACE - path: # optional - # A glob pattern matching the artifacts that should be downloaded. Ignored if name is specified. - pattern: # optional - # When multiple artifacts are matched, this changes the behavior of the destination directories. If true, the downloaded artifacts will be in the same directory specified by path. If false, the downloaded artifacts will be extracted into individual named directories within the specified path. - merge-multiple: # optional, default is false - # The GitHub token used to authenticate with the GitHub API. This is required when downloading artifacts from a different repository or from a different workflow run. If this is not specified, the action will attempt to download artifacts from the current repository and the current workflow run. - github-token: # optional - # The repository owner and the repository name joined together by "/". If github-token is specified, this is the repository that artifacts will be downloaded from. - repository: # optional, default is ${{ github.repository }} - # The id of the workflow run where the desired download artifact was uploaded from. If github-token is specified, this is the run that artifacts will be downloaded from. - run-id: # optional, default is ${{ github.run_id }} -