Bump chai from 5.1.1 to 5.1.2 (#693) #1229
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: build | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
tests: | |
name: Node ${{ matrix.node_version }} ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, windows-latest, macos-latest] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Nodejs | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- name: Setup submodule | |
run: | | |
git submodule init | |
git submodule update | |
- name: unit-tests | |
run: | | |
npm install | |
npm test | |
functional-tests: | |
needs: tests | |
name: FTs ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [windows-latest, ubuntu-latest] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
check-latest: true | |
go-version: '1.23' | |
- name: Set up Nodejs | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- name: Setup java | |
uses: actions/setup-java@v4 | |
with: | |
distribution: temurin | |
java-version: '17' | |
- uses: getgauge/setup-gauge@master | |
with: | |
gauge-version: master | |
- name: Install JS | |
run: | | |
npm install | |
npm run installPlugin | |
- name: Prep FTs | |
run: | | |
git clone https://github.com/getgauge/gauge-tests | |
cd gauge-tests | |
gauge install | |
- name: Run FTs (linux) | |
if: matrix.os != 'windows-latest' | |
run: | | |
cd gauge-tests | |
./gradlew clean jsFT | |
- name: Run FTs (windows) | |
if: matrix.os == 'windows-latest' | |
run: | | |
cd gauge-tests | |
.\gradlew.bat clean jsFT | |
lsp-tests: | |
needs: tests | |
name: LSP Tests ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [windows-latest, ubuntu-latest] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
check-latest: true | |
go-version: '1.23' | |
- uses: getgauge/setup-gauge@master | |
with: | |
gauge-version: master | |
- name: Install JS | |
run: | | |
npm install | |
npm run installPlugin | |
- name: Prep LSP tests | |
run: | | |
git clone https://github.com/getgauge/gauge-lsp-tests | |
cd gauge-lsp-tests | |
npm install | |
gauge install | |
- name: Run LSP tests | |
run: | | |
cd gauge-lsp-tests | |
gauge run --tags='!knownIssue & (actions_on_project_load | actions_on_file_edit)' --env=js-wd |