Skip to content

Create prerelease actions for Github. #16

Create prerelease actions for Github.

Create prerelease actions for Github. #16

# ⚠️ WARNING
# This file is auto-generated by https://github.com/WesSouza/wes-cli
name: Lint, Type Check, Test, Build
on:
pull_request:
push:
jobs:
check:
name: Using Node ${{ matrix.node }}/${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
node: ['16.x', '18.x']
os: [ubuntu-latest, macOS-latest]
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Install wes-cli
run: |
npm i -g [email protected]
wes install
- name: Use Node ${{ matrix.node }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- name: Lint
run: yarn lint
- name: Check Types
run: yarn check:types
- name: Test
run: yarn test:ci
- name: Build
run: yarn build