prepare release, update readme #9
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: Lint build Test the Package | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
lint-build-test: | |
runs-on: ubuntu-latest | |
steps: | |
# Checkout the repository | |
- name: Checkout Code | |
uses: actions/checkout@v3 | |
# Set up Node.js environment | |
- name: Set up Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '18' | |
# Install dependencies | |
- name: Install Dependencies | |
run: npm install | |
# Run lint check | |
- name: Run Linter | |
run: npm run lint:fix | |
# Build the package | |
- name: Build Package | |
run: npm run build | |
# Run tests | |
- name: Run Tests | |
run: npm run test |