Repository navigation
Code Review Changes #660
This file contains hidden or 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: | |
| - pull_request | |
| - push | |
| jobs: | |
| Lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: "20.x" | |
| - name: Install dependencies | |
| run: npm install | |
| - name: Lint | |
| run: npm run lint | |
| MacOsTest: | |
| needs: Lint | |
| name: ${{ matrix.os }} ${{ matrix.nodeVersion }} Tests | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| nodeVersion: ["22.13.1", "24.14.1"] | |
| os: [macos-latest] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: ${{ matrix.nodeVersion }} | |
| - name: Install dependencies | |
| run: npm install | |
| - name: Run tests | |
| run: npm run test | |
| WindowsTest: | |
| needs: Lint | |
| name: ${{ matrix.os }} ${{ matrix.nodeVersion }} Tests | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| nodeVersion: ["22.13.1", "24.14.1"] | |
| os: [windows-latest] | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - uses: actions/setup-node@v2 | |
| with: | |
| node-version: ${{ matrix.nodeVersion }} | |
| - name: Install dependencies | |
| run: npm install | |
| - name: Run tests | |
| run: npm run test | |
| UbuntuTest: | |
| needs: Lint | |
| name: ${{ matrix.os }} ${{ matrix.nodeVersion }} Tests | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| nodeVersion: ["22.13.1", "24.14.1"] | |
| os: [ubuntu-latest] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: ${{ matrix.nodeVersion }} | |
| - name: Install libsecret | |
| run: sudo apt-get install -y libsecret-1-0 | |
| - name: Install dependencies | |
| run: npm install | |
| - name: Run tests | |
| run: npm run test |