build(deps): bump actions/setup-node from 2.1.5 to 2.2.0 (#235)

* build(deps): bump actions/setup-node from 2.1.5 to 2.2.0

Bumps [actions/setup-node](https://github.com/actions/setup-node) from 2.1.5 to 2.2.0.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v2.1.5...v2.2.0)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Use inbuilt caching for Yarn.

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: FireMasterK <20838718+FireMasterK@users.noreply.github.com>
This commit is contained in:
dependabot[bot] 2021-07-01 19:31:45 +05:30 committed by GitHub
parent f11d67ddc6
commit 14b28ba87b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,17 +13,9 @@ jobs:
steps: steps:
- uses: actions/checkout@v2.3.4 - uses: actions/checkout@v2.3.4
- name: Setup Node.js - name: Setup Node.js
uses: actions/setup-node@v2.1.5 uses: actions/setup-node@v2.2.0
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
- name: Cache Node.js modules
uses: actions/cache@v2.1.6
with: with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }} cache: 'yarn'
key: ${{ runner.OS }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.OS }}-yarn-
- run: yarn install --prefer-offline - run: yarn install --prefer-offline
- run: yarn build && sed -i 's/fonts.gstatic.com/fonts.kavin.rocks/g' dist/css/*.css - run: yarn build && sed -i 's/fonts.gstatic.com/fonts.kavin.rocks/g' dist/css/*.css
- uses: aquiladev/ipfs-action@v0.1.5 - uses: aquiladev/ipfs-action@v0.1.5