Skip to content

build(deps-dev): bump prettier-plugin-astro from 0.10.0 to 0.12.0 #431

build(deps-dev): bump prettier-plugin-astro from 0.10.0 to 0.12.0

build(deps-dev): bump prettier-plugin-astro from 0.10.0 to 0.12.0 #431

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