Update dependency sass-loader to v16 #281
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Pull Request | |
on: [pull_request] | |
jobs: | |
compile-and-auto-approve: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
- name: asdf setup | |
uses: asdf-vm/actions/[email protected] | |
- name: Cache asdf dependencies | |
id: cache-asdf | |
uses: actions/cache@v2 | |
env: | |
cache-name: cache-asdf-dependencies | |
with: | |
path: ~/.asdf | |
key: ${{ runner.os }}-${{ env.cache-name }}-${{ hashFiles('.tool_versions') }} | |
restore-keys: | | |
${{ runner.os }}-${{ env.cache-name }}- | |
${{ runner.os }}- | |
- name: set env | |
run: | | |
echo "NODEJS_CHECK_SIGNATURES=no" >> $GITHUB_ENV | |
- name: asdf install | |
if: steps.cache-asdf.outputs.cache-hit != 'true' | |
uses: asdf-vm/actions/[email protected] | |
- name: Cache yarn cache directory | |
id: yarn | |
uses: actions/cache@v2 | |
env: | |
cache-name: cache-yarn-cache | |
with: | |
path: $(yarn cache dir) | |
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('yarn.lock') }} | |
restore-keys: | | |
${{ runner.os }}-${{ env.cache-name }}- | |
${{ runner.os }}- | |
- name: Build | |
run: | | |
make build | |
- name: Approve pull request | |
uses: hmarr/[email protected] | |
if: github.actor == 'dependabot[bot]' || github.actor == 'dependabot-preview[bot]' || github.action == 'renovate[bot]' | |
with: | |
github-token: "${{ secrets.GITHUB_TOKEN }}" |