diff --git a/.github/workflows/toc.yml b/.github/workflows/toc.yml index 8772bcc..715f03b 100644 --- a/.github/workflows/toc.yml +++ b/.github/workflows/toc.yml @@ -20,6 +20,7 @@ jobs: allowed-endpoints: github.com:443 registry.npmjs.org:443 + api.github.com:443 - uses: actions/checkout@v4 with: # https://github.com/actions/checkout/issues/217#issue-599945005 @@ -30,7 +31,7 @@ jobs: - run: git fetch --depth=1 origin +refs/tags/*:refs/tags/* - uses: actions/setup-node@v4 with: - node-version: '16' + node-version: 'lts/*' - run: npm install - run: npm run doctoc - name: commit changes