Flyover patch changes sync #56
Workflow file for this run
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: Flyover SDK CI | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| permissions: read-all | |
| jobs: | |
| validation: | |
| name: Code integrity validation | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
| - name: Setup node | |
| uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0 | |
| with: | |
| node-version: '19.6.0' | |
| - name: NPM Login | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| run: npm config set //npm.pkg.github.com/:_authToken $GITHUB_TOKEN | |
| - name: Install dependencies | |
| run: npm ci && npm run build | |
| - name: Validate code format | |
| run: npm run lint:validation | |
| - name: Run unit tests | |
| run: npm run test |