Skip to content

Commit

Permalink
Add npm release workflow and update package details for v0.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
AS1100K committed Dec 19, 2024
1 parent 0cbfe21 commit a455c10
Show file tree
Hide file tree
Showing 4 changed files with 43 additions and 10 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/npm-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Publish to npm

on:
push:
tags:
- "v*"

jobs:
publish:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '>=20.17'
registry-url: 'https://registry.npmjs.org/'

- name: Install dependencies
run: npm install

- name: Publish to npm
run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to
[Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [v0.2.1] - 2024-12-19

### Changed
- Made package `public` and available on npm

## [v0.2.0] - 2024-11-25

### Added
Expand Down
15 changes: 8 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
{
"name": "rust-toolchain",
"name": "@rs-workspace/-toolchain",
"description": "GitHub actions for installing rust toolchain",
"version": "0.2.0",
"version": "0.2.1",
"author": "Aditya Kumar",
"private": true,
"homepage": "https://github.com/rs-workspace/rust-toolchain",
"repository": {
"type": "git",
Expand Down

0 comments on commit a455c10

Please sign in to comment.