Skip to content

docs: update instructions #2

docs: update instructions

docs: update instructions #2

name: Test and Release
permissions:
contents: write
issues: write
on:
push:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
jobs:
tests:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "20.x"
- name: Keep npm cache around to speed up installs
uses: actions/cache@v4
with:
path: ~/.npm
key: ${{ runner.OS }}-build-${{ hashFiles('**/package-lock.json') }}
- name: Install dependencies
run: npm ci --no-audit
- name: Validate renovate config
run: npx renovate-config-validator
- name: Semantic release
run: npx semantic-release