feat: keep original __dirname, __filename and import.meta.url value for compiled agent files. #1037
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: validation | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| run-tests: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| os: [ubuntu-latest, windows-latest, macos-latest] | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v6 | |
| - name: Use Node.js | |
| uses: actions/setup-node@v6 | |
| - name: Install dependencies | |
| run: npm install | |
| - name: Check for secrets leaks | |
| run: npx secretlint "**/*" | |
| - name: Build packages | |
| run: npm run build | |
| - name: Run tests and check code coverage | |
| run: npm run test:coverage | |
| - name: Run lint check | |
| run: npm run lint | |
| - name: Run format check | |
| run: npm run format:check | |
| - name: Run documentation build check | |
| run: npm run docs:check |