fix: use node20 as runtime #531
Workflow file for this run
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: Test | |
on: | |
push: | |
branches: | |
- main | |
pull_request_target: | |
types: [opened, synchronize] | |
jobs: | |
readmeExample: | |
name: "[TEST] README example" | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 20 # use same as runtime in action.yml | |
- run: npm ci | |
- run: npm run build | |
- name: Get latest release of ${{ github.repository }} | |
uses: ./ | |
id: stats | |
with: | |
id: ${{ secrets.APP_ID }} | |
private_key: ${{ secrets.PRIVATE_KEY }} | |
- run: "echo installations: '${{ steps.stats.outputs.installations }}'" | |
- run: "echo repositories: '${{ steps.stats.outputs.repositories }}'" | |
- run: "echo suspended: '${{ steps.stats.outputs.suspended_installations }}'" | |
- run: >- | |
echo most popular repositories: '${{ | |
steps.stats.outputs.popular_repositories }}' |