Bump the npm_and_yarn group across 1 directory with 2 updates #138
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: test | |
| on: | |
| push: | |
| branches: | |
| - "main" | |
| pull_request: | |
| branches: | |
| - main | |
| permissions: | |
| contents: read | |
| jobs: | |
| test-starting-node: | |
| runs-on: ubuntu-latest | |
| name: Test Starting Server | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version-file: ".nvmrc" | |
| - run: npm install | |
| - run: npm run build | |
| - run: npm run start | |
| env: | |
| GENESYSCLOUD_REGION: dummy | |
| GENESYSCLOUD_OAUTHCLIENT_ID: dummy | |
| GENESYSCLOUD_OAUTHCLIENT_SECRET: dummy | |
| test-node: | |
| runs-on: ubuntu-latest | |
| name: Test | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version-file: ".nvmrc" | |
| - run: npm install | |
| - run: npm run build | |
| - run: npm run test | |
| test-building-mcpb: | |
| runs-on: ubuntu-latest | |
| name: Test Desktop Extension | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version-file: ".nvmrc" | |
| - run: npm install | |
| - run: npm run validate:mcpb | |
| - run: npm run package:mcpb | |
| - run: npm run test | |
| lint: | |
| runs-on: ubuntu-latest | |
| name: Lint | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version-file: ".nvmrc" | |
| - run: npm install | |
| - run: npm run lint:check |