diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ac993e2..9f0de83 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,22 +2,28 @@ name: CI on: pull_request: +permissions: + contents: read + jobs: verify: runs-on: ubuntu-latest strategy: matrix: - node-version: [20.x] - - env: - CI: true + node-version: + - 20.x + - 24.x steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v7 + with: + persist-credentials: false + - name: use node.js ${{ matrix.node-version }} - uses: actions/setup-node@v3 + uses: actions/setup-node@v7 with: node-version: ${{ matrix.node-version }} + - name: run tests run: yarn test diff --git a/pr-sync/action.yml b/pr-sync/action.yml index 222abaa..ae613cd 100644 --- a/pr-sync/action.yml +++ b/pr-sync/action.yml @@ -27,5 +27,5 @@ inputs: required: false outputs: {} runs: - using: node20 + using: node24 main: ./entry.js