This repository has been archived by the owner on Oct 2, 2024. It is now read-only.
Update description action.yml #29
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: PullRequest | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up node | |
uses: actions/setup-node@v2 | |
with: | |
node-version: '20' | |
- name: Install dependencies | |
run: | | |
npm i -g @vercel/ncc | |
npm install | |
- name: Compile files | |
run: npm run build | |
- name: Run tests | |
run: npm run test | |
- name: Check linting errors | |
run: npm run lint |