Zli-UoA / ryouomoi-checker-frontend

https://ryouomoi-checker-frontend.pages.dev/
MIT License
1 stars 1 forks source link

[FEATURE] node_modules をキャッシュにのせる #96

Closed matumoto1234 closed 2 years ago

matumoto1234 commented 2 years ago

提案の詳細

以下をlinter.ymlに追記

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

動機

その他