log sub prop3 #115
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Check | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
workflow_dispatch: | |
inputs: | |
branch: | |
description: 'Branch Name' | |
required: true | |
type: string | |
workflow_call: | |
inputs: | |
branch: | |
description: 'Branch Name' | |
required: true | |
type: string | |
jobs: | |
check: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
ref: ${{ github.event.inputs.branch || 'main' }} | |
- name: Set up Node.js | |
uses: actions/setup-node@v2 | |
with: | |
node-version: '20' # Set this to the node version you are using | |
- name: Install dependencies | |
run: npm install | |
- name: Run style check | |
run: npm run style | |
- name: Run lintpkg | |
run: npm run lintpkg | |
- name: Run Build | |
run: npm run build |