build(deps-dev): bump chai from 4.3.7 to 5.1.0 #108
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: Node.js CI | |
on: pull_request | |
concurrency: | |
group: ci-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
lint: | |
uses: prosegrinder/.github/.github/workflows/npm-lint.yaml@main | |
test: | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest] | |
needs: lint | |
runs-on: ${{ matrix.os }} | |
env: | |
CI: true | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Use Node.js LTS | |
uses: actions/setup-node@v4.0.2 | |
with: | |
node-version: lts/* | |
cache: "npm" | |
- name: Set up Homebrew | |
id: set-up-homebrew | |
uses: Homebrew/actions/setup-homebrew@master | |
- name: Install Languagetool | |
id: install-languagetool | |
run: | | |
brew install languagetool jq | |
- name: Create Languagetool Log Directory | |
id: create-languagetool-log-directory | |
run: | | |
mkdir -p $(dirname $(brew services info languagetool --json| jq -r '.[0].log_path')) | |
- name: Start Languagetool | |
id: start-languagetool | |
run: | | |
brew services start languagetool | |
ps -ef | grep languagetool | |
brew services info languagetool --json | jq | |
sleep 5 | |
tail $(brew services info languagetool --json| jq -r '.[0].log_path') | |
curl -L http://127.0.0.1:8081/v2/check -d "language=en-US&text=This+is+a+test+sentence." | jq | |
- name: NPM Clean Install | |
run: npm ci | |
- name: NPM Build | |
run: npm run build --if-present | |
- name: Test | |
run: npm test | |
- name: Test Pack | |
run: npm pack | |
cz-dry-run: | |
needs: test | |
uses: prosegrinder/.github/.github/workflows/cz-dry-run.yaml@main |