Skip to content

Commit

Permalink
use HEAD branch
Browse files Browse the repository at this point in the history
  • Loading branch information
bahmutov committed Feb 15, 2024
1 parent 404673f commit 0fb3fb3
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/example-performance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,27 +7,21 @@ jobs:
steps:
- uses: actions/checkout@v4
# look at fast this action installs a single dependency
- uses: bahmutov/npm-install@performance
- uses: bahmutov/npm-install@HEAD
with:
working-directory: examples/basic
install-command: 'npm install chalk'
cache-key-prefix: chalk8
env:
ACTIONS_RUNNER_DEBUG: true
ACTIONS_STEP_DEBUG: true

# cache using https://github.com/actions/cache
cache2:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- name: Caching
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.npm
key: chalk-v2
env:
ACTIONS_RUNNER_DEBUG: true
ACTIONS_STEP_DEBUG: true
- name: Install just chalk
run: npm install chalk

0 comments on commit 0fb3fb3

Please sign in to comment.