Skip to content

Commit

Permalink
chore(ci): remove cache node_modules for build action
Browse files Browse the repository at this point in the history
  • Loading branch information
pearmini committed Jun 14, 2022
1 parent 433973d commit 95cb02f
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ on: [push]

jobs:
build:

runs-on: macOS-latest

steps:
Expand All @@ -14,18 +13,8 @@ jobs:
- name: Setup Node.js environment
uses: actions/setup-node@v2.1.5
with:
node-version: "12"
node-version: '12'

- name: Cache node modules
uses: actions/cache@v2
env:
cache-name: cache-node-modules
with:
path: ./node_modules
key: ${{ runner.os }}-build-cache-node-modules-${{ hashFiles('**/package.json') }}
restore-keys: |
cache-node-modules-
- name: Run CI
run: |
npm install
Expand Down

0 comments on commit 95cb02f

Please sign in to comment.