Skip to content

fix: use node20 as runtime #531

fix: use node20 as runtime

fix: use node20 as runtime #531

Workflow file for this run

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 }}'