Skip to content
This repository has been archived by the owner on Jul 14, 2024. It is now read-only.

Bump the npm_and_yarn group across 1 directories with 8 updates #5

Bump the npm_and_yarn group across 1 directories with 8 updates

Bump the npm_and_yarn group across 1 directories with 8 updates #5

Workflow file for this run

name: CI
on:
pull_request:
push:
branches:
- main
jobs:
linting:
runs-on: ubuntu-latest
steps:
- name: Checkout this repo
uses: actions/checkout@v2
##
# Cache Yarn modules
#
# See https://github.com/actions/cache/blob/master/examples.md#node---yarn for details
#
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
- name: Setup yarn cache
uses: actions/cache@v2
id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Install NodeJS
uses: actions/setup-node@v2-beta
with:
node-version: '12'
- name: Install Ruby (version given by .ruby-version) and Bundler
uses: ruby/setup-ruby@v1
with:
bundler-cache: true
- name: Install required JS packages
run: |
yarn install
- name: Run CI
run: ./bin/ci-run