Skip to content

chore: fix README

chore: fix README #80

Workflow file for this run

env:
RUNNER_DEBUG: 1
name: 'CI'
on: # rebuild any PRs and main branch changes
pull_request:
push:
branches:
- main
permissions: {}
jobs:
build: # make sure build/ci work properly
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with:
node-version: '22'
- run: |
npm install
npm run all
- run: |
git diff --exit-code ':!dist/index.js.map' ':!badges/coverage.svg'
test: # make sure the action works on a clean machine without building
runs-on: ${{ matrix.os }}
permissions:
contents: read
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: ./
- name: Get the version
run: stackit --version
- uses: ./
with:
version: v0.30.0
- name: Get the version
run: stackit --version | grep 0.30.0
- uses: ./
with:
version: 0.28.0
- name: Get the version
run: stackit --version | grep 0.28.0
super-lint:
name: super-lint
runs-on: ubuntu-24.04
permissions:
contents: read
steps:
- name: Checkout Code
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
fetch-depth: 0
- name: Lint Code Base
uses: super-linter/super-linter/slim@4e8a7c2bf106c4c766c816b35ec612638dc9b6b2 # v7.3.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
MULTI_STATUS: false
LINTER_RULES_PATH: .
VALIDATE_ALL_CODEBASE: true
VALIDATE_BASH: true
VALIDATE_BASH_EXEC: true
VALIDATE_ENV: true
VALIDATE_GITHUB_ACTIONS: true
VALIDATE_HTML: true
VALIDATE_NATURAL_LANGUAGE: true
VALIDATE_SHELL_SHFMT: true
VALIDATE_XML: true
VALIDATE_YAML: true
release:
if: github.repository_owner == 'jkroepke' && github.ref_name == 'main'
name: Release
runs-on: ubuntu-latest
needs:
- build
- test
- super-lint
permissions:
contents: write
steps:
- uses: actions/create-github-app-token@df432ceedc7162793a195dd1713ff69aefc7379e # v2.0.6
id: app-token
with:
app-id: 1248576
private-key: ${{ secrets.APP_RENOVATE_HELPER_PRIVATE_KEY }}
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with:
node-version: '22'
- name: Install dependencies
run: npm clean-install
- name: Release
env:
GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}
run: npx semantic-release