Skip to content

build(deps): bump remark-rehype from 10.1.0 to 11.0.0 #432

build(deps): bump remark-rehype from 10.1.0 to 11.0.0

build(deps): bump remark-rehype from 10.1.0 to 11.0.0 #432

Workflow file for this run

name: Testing
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: 18
cache: 'yarn'
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
- uses: actions/cache@v3
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: ${{ runner.os }}-yarn-
- name: Install modules
run: yarn install --frozen-lockfile
- name: Run lint
run: |
yarn script_lint
yarn style_lint
yarn markup_lint
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: 18
cache: 'yarn'
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
- uses: actions/cache@v3
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: ${{ runner.os }}-yarn-
- name: Install modules
run: yarn install --frozen-lockfile
- name: Check TypeScript code
run: yarn check_ts
- name: Run testing
run: yarn test