Skip to content

fix(deps): update dependency @actions/artifact to v6 #67

fix(deps): update dependency @actions/artifact to v6

fix(deps): update dependency @actions/artifact to v6 #67

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
- run: npm ci
- run: npm test
check-dist:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
- run: npm ci
- run: npm run build
- name: Check dist/ is up to date
run: |
if [ "$(git diff --ignore-space-at-eol dist/ | wc -l)" -gt "0" ]; then
echo "dist/ is out of date. Run 'npm run build' and commit."
git diff --stat dist/
exit 1
fi
e2e:
runs-on: ubuntu-latest
needs: [test, check-dist]
strategy:
fail-fast: false
matrix:
vcluster-version: [latest, v0.32.2-rc.1, pinned]
steps:
- uses: actions/checkout@v6
- name: Resolve pinned version
if: matrix.vcluster-version == 'pinned'
id: pinned
run: echo "version=$(cat VCLUSTER_VERSION)" >> "$GITHUB_OUTPUT"
- uses: ./
with:
version: ${{ matrix.vcluster-version == 'pinned' && steps.pinned.outputs.version || matrix.vcluster-version }}
name: ci-test-${{ strategy.job-index }}
- name: Verify cluster
run: |
kubectl get nodes
kubectl cluster-info
- name: Verify vcluster
run: |
vcluster list
vcluster --version