Skip to content

lint and format

lint and format #8

Workflow file for this run

name: "CI"
on:
push:
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install pnpm
uses: pnpm/action-setup@v2
- name: Setup Node.js 16
uses: actions/setup-node@v3
with:
node-version: 16
cache: 'pnpm'
- name: Install
id: install
run: |
pnpm i
- name: Lint
run: |
pnpm lint
tests:
name: Tests
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
version: [14, 16, 18]
steps:
- uses: actions/checkout@v3
- name: Install pnpm
uses: pnpm/action-setup@v2
- name: Setup Node.js ${{ matrix.version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.version }}
cache: 'pnpm'
- name: Install
id: install
run: |
pnpm i
- name: Tests
run: |
pnpm test