Merge pull request #1409 from github/honeyankit/add-retry-for-image-u… #6407
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: 'integration' | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
- 'releases/*' | |
permissions: | |
contents: read | |
jobs: | |
integration: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
ref: ${{ github.event.pull_request.head.sha }} | |
- name: Setup Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version-file: .nvmrc | |
- name: Install npm dependencies | |
run: npm clean-install | |
- name: Pre-fetch the pinned images | |
run: npm run fetch-images -- bundler | |
- name: Run integration tests | |
run: npm run test-integration | |
env: | |
GITHUB_TOKEN: ${{ github.token }} |