Skip to content

πŸ“š: add documentation #19

πŸ“š: add documentation

πŸ“š: add documentation #19

Workflow file for this run

name: 'ci/github: grpc-web-devtools'
on:
pull_request:
workflow_dispatch:
jobs:
typecheck:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.10.0]
steps:
- name: πŸ›ŽοΈ Checkout
uses: actions/checkout@v3
- name: πŸ”« Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- name: πŸ“¦ Cache
uses: actions/cache@v2
id: yarn-cache
with:
path: '**/node_modules'
key: ${{ runner.os }}-devtools-${{ hashFiles('yarn.lock') }}
- name: πŸ’Ώ Install dependencies
if: steps.yarn-cache.outputs.cache-hit != 'true'
run: yarn install --frozen-lockfile
- name: πŸŒ€ Run typecheck
run: yarn tsc
lint:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.10.0]
steps:
- name: πŸ›ŽοΈ Checkout
uses: actions/checkout@v3
- name: πŸ”« Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- name: πŸ“¦ Cache
uses: actions/cache@v2
id: yarn-cache
with:
path: '**/node_modules'
key: ${{ runner.os }}-devtools-${{ hashFiles('yarn.lock') }}
- name: πŸ’Ώ Install dependencies
if: steps.yarn-cache.outputs.cache-hit != 'true'
run: yarn install --frozen-lockfile
- name: πŸ’„ Run linter
run: yarn lint