Merge pull request #164 from CoderSales/dependabot/github_actions/act… #172
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: Sample List Generator | |
| on: | |
| push: | |
| branches: | |
| - main | |
| defaults: | |
| run: | |
| working-directory: ./.repo/sample-list-generator | |
| jobs: | |
| generate: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: 18 | |
| - name: Install dependencies | |
| run: npm install | |
| - name: Generate sample list | |
| run: npm run start | |
| - name: Run ESLint | |
| run: npm run lint | |
| - name: Upload to artifacts | |
| uses: actions/upload-artifact@v5 | |
| with: | |
| name: extension-samples.json | |
| path: ./.repo/sample-list-generator/extension-samples.json | |
| if-no-files-found: error |