fix: remove Docker container from CI, use setup-node instead

Eliminates Docker Hub rate limit by replacing container: node:22 with setup-node@v4.
Also fixes release workflow branch creation order.

Closes privilegedescalation/.github#14

Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
hugh-hackman[bot]
2026-03-15 16:55:37 +00:00
committed by GitHub
parent e97fee87af
commit d0b4428af7
2 changed files with 7 additions and 2 deletions
+6 -1
View File
@@ -12,13 +12,18 @@ on:
jobs:
ci:
runs-on: local-ubuntu-latest
container: node:${{ inputs.node-version }}
timeout-minutes: 10
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: ${{ inputs.node-version }}
cache: 'npm'
- name: Install dependencies
run: npm ci
+1 -1
View File
@@ -133,10 +133,10 @@ jobs:
run: |
VERSION="${{ inputs.version }}"
BRANCH="release/v${VERSION}"
git checkout -b "$BRANCH"
git add package.json package-lock.json artifacthub-pkg.yml
git commit -m "release: v${VERSION}"
git tag "v${VERSION}"
git checkout -b "$BRANCH"
git push origin "$BRANCH" --tags
- name: Install GitHub CLI