chore(deps): bump flask in /packages/python/examples/flask (#911) #1236
This file contains 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: snippets | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: packages/sdk-snippets | |
strategy: | |
matrix: | |
node-version: | |
- 14 | |
- 16 | |
- 18 | |
- 20 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- run: npm ci --ignore-scripts | |
- run: npm run build | |
- run: npm test | |
# This is being run separately since it's not playing nicely with Node 14. | |
# Once we drop Node 14 support we can probably consolidate this again. | |
lint: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: packages/sdk-snippets | |
steps: | |
- uses: actions/checkout@v3 | |
- run: npm ci --ignore-scripts | |
- run: npm run lint |