Skip to content

Commit 981a0e8

Browse files
committed
prep 1.0.4
1 parent 9f83c79 commit 981a0e8

File tree

4 files changed

+30
-1
lines changed

4 files changed

+30
-1
lines changed

.github/workflows/publish.yaml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Publish Package to npm
2+
on:
3+
release:
4+
types: [published]
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
permissions:
9+
contents: read
10+
id-token: write
11+
steps:
12+
- uses: actions/checkout@v4
13+
# Setup .npmrc file to publish to npm
14+
- uses: actions/setup-node@v4
15+
with:
16+
node-version: '20.x'
17+
registry-url: 'https://registry.npmjs.org'
18+
- uses: pnpm/action-setup@v3
19+
with:
20+
version: 9
21+
run_install: true
22+
- run: pnpm i
23+
- run: npm publish --provenance --access public
24+
env:
25+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# 1.0.4
2+
- No changes. First GH Actions publish.
3+
14
# 1.0.3
25
- Edit readme (no functional changes).
36

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
[![npm version](https://img.shields.io/npm/v/css-color-names-rgb.svg)](https://www.npmjs.com/package/css-color-names-rgb)
22
[![Downloads](https://img.shields.io/npm/dm/css-color-names-rgb.svg)](https://www.npmjs.com/package/css-color-names-rgb)
3+
![Uses TypeScript](https://img.shields.io/badge/Uses-Typescript-294E80.svg)
34

45

56
# css-color-names-rgb

tsup.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { defineConfig } from 'tsup'
1+
import { defineConfig } from 'tsup';
22

33
export default defineConfig({
44
entry: ['src/index.ts'],

0 commit comments

Comments
 (0)