[version-3-4] chore: DOC-1534 update deprecated packs documentation and enhance Pac… #1072
Workflow file for this run
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: Eslint and Test cases | |
on: | |
pull_request: | |
types: [opened, synchronize, reopened, ready_for_review] | |
paths: | |
- "src/**" | |
concurrency: | |
group: test-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
run-ci: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
shell: bash | |
if: ${{ !github.event.pull_request.draft }} | |
steps: | |
- run: exit 0 | |
build: | |
name: Build | |
needs: [run-ci] | |
runs-on: | |
group: 'Doc Runners' | |
labels: docbot | |
if: ${{ !github.event.pull_request.draft }} | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v3 | |
- name: Setup Node.js environment | |
uses: actions/setup-node@v3 | |
with: | |
node-version: "20" | |
cache: "npm" | |
- run: npm ci | |
- name: Eslint | |
run: | | |
npm run lint | |
- name: Test | |
run: | | |
npm run test |