Skip to content
This repository was archived by the owner on Apr 3, 2026. It is now read-only.

feat: Exercise #5. Python Standard Library #5

feat: Exercise #5. Python Standard Library

feat: Exercise #5. Python Standard Library #5

name: Release version
on:
push:
branches: ["main"]
jobs:
release:
runs-on: ubuntu-latest
permissions:
contents: write # to be able to publish a GitHub release
issues: write # to be able to comment on released issues
pull-requests: write # to be able to comment on released pull requests
id-token: write # to enable use of OIDC for npm provenance
steps:
- name: 1/4 | Checkout repo
uses: actions/checkout@v4
- name: 2/4 | Setup Node environment
uses: actions/setup-node@v4
with:
node-version: latest
- name: 3/4 | Install dependencies
run: npm ci
- name: 4/4 | Run Semantic Release script
run: npm run semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}