Skip to content

[blog] Written a blog in Go series #357

[blog] Written a blog in Go series

[blog] Written a blog in Go series #357

Workflow file for this run

on:
push:
branches:
- 'master'
pull_request:
name: CI
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Cancel previous runs
uses: styfle/cancel-workflow-action@0.9.1
with:
all_but_latest: true
access_token: ${{ secrets.GITHUB_TOKEN }}
- name: Checkout
uses: actions/checkout@v3
- uses: pnpm/action-setup@v2.2.2
with:
version: 7.x.x
- name: Setup NodeJS
uses: actions/setup-node@v3
with:
node-version: '16'
cache: 'pnpm'
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Markdown lint
run: pnpm markdown:lint
- name: EsLint
run: pnpm lint
- name: Stylelint
run: pnpm stylelint