Skip to content

Commit

Permalink
Merge pull request #101 from dhensby/pulls/github-action-updates
Browse files Browse the repository at this point in the history
ci: update GitHub actions to latest version
  • Loading branch information
microshine authored Sep 16, 2024
2 parents c0a1183 + 4f4050b commit c04cfbf
Showing 1 changed file with 6 additions and 14 deletions.
20 changes: 6 additions & 14 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,24 +11,16 @@ jobs:
node-version: [18.x]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
persist-credentials: false
show-progress: false

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}

- name: Cache node modules
uses: actions/cache@v2
env:
cache-name: cache-node-modules
with:
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
cache: yarn

- name: Install dependencies
run: yarn
Expand Down

0 comments on commit c04cfbf

Please sign in to comment.