Skip to content

Commit

Permalink
Remove actions/setup-node from test workflow
Browse files Browse the repository at this point in the history
- Remove running actions/setup-node
- Remove cache control for npm global modules
  • Loading branch information
nowsprinting committed Oct 25, 2023
1 parent 3a7e767 commit 42ed16b
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,19 +59,6 @@ jobs:
restore-keys: |
Library-
- uses: actions/setup-node@v4
with:
node-version: 16

- name: Set npm bin path for cache
run: echo "path=$(npm bin -g)" >> "$GITHUB_OUTPUT"
id: npm_bin

- uses: actions/cache@v3
with:
path: ${{ steps.npm_bin.outputs.path }}
key: npm-${{ hashFiles('.github/workflows/test.yml') }}

- name: Set package name
run: |
echo "package_name=$(grep -o -E '"name": "(.+)"' ./package.json | cut -d ' ' -f2)" >> "$GITHUB_ENV"
Expand Down

0 comments on commit 42ed16b

Please sign in to comment.