This repository has been archived by the owner on May 22, 2024. It is now read-only.
Refactor/new nats lib #25
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 pull requests | |
on: | |
pull_request: | |
types: ["opened", "edited", "reopened", "synchronize"] | |
jobs: | |
check-pr: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Setup Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
registry-url: https://registry.npmjs.org/ | |
- name: NPM 9 install | |
run: npm install -g npm@9 | |
- name: Install dependencies | |
run: npm install | |
- name: Lint code | |
run: npm run lint | |
# - name: Run tests | |
# run: npm run test | |
- name: Build library | |
run: npm run build | |
- name: Generate documentation | |
run: npm run docs:generate |