Skip to content

0.7.2

0.7.2 #24

Workflow file for this run

# This workflow will release a package at npmjs and at GitHub releases
name: Release
on:
push:
tags:
- v*
jobs:
npm:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20.x
registry-url: https://registry.npmjs.org
- name: Install dependencies
run: |
npm ci
- name: Publish to npm
run: npm publish --provenance --access=public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
github:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Create GitHub release
uses: softprops/action-gh-release@v2
with:
name: jskos-cli ${{ github.ref_name }}
body: TODO
draft: true
prerelease: false