Skip to content

Commit

Permalink
Merge pull request altalyst-solutions#5 from sleepinzombie/build/upda…
Browse files Browse the repository at this point in the history
…te-workflows-latest

Update workflows to latest GitHub actions versions
  • Loading branch information
sleepinzombie authored Aug 18, 2024
2 parents 049b9c3 + 827b436 commit e7cb660
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,20 @@ jobs:
uses: actions/checkout@v4

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

- name: Cache node_modules
uses: actions/cache@v4
with:
path: |
~/.npm
node_modules
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Install dependencies
run: npm install

Expand All @@ -37,11 +47,3 @@ jobs:

- name: Build library
run: npm run build

- name: Cache node_modules
uses: actions/cache@v3
with:
path: node_modules
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-

0 comments on commit e7cb660

Please sign in to comment.