Skip to content

Commit 09ed8b3

Browse files
Merge pull request #35 from oliviacarlisle/dev
Update workflow to generate provenance statements
2 parents 3ff30dc + 414a9a4 commit 09ed8b3

File tree

4 files changed

+7
-4
lines changed

4 files changed

+7
-4
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: CI - Run Tests
1+
name: Build
22

33
on:
44
pull_request:

.github/workflows/npm-publish.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ on:
77
jobs:
88
publish:
99
runs-on: ubuntu-latest
10+
permissions:
11+
contents: read
12+
id-token: write
1013
environment: production
1114
steps:
1215
- uses: actions/checkout@v4
@@ -26,6 +29,6 @@ jobs:
2629
fi
2730
- run: npm run build
2831
- name: Publish to npm
29-
run: npm publish
32+
run: npm publish --provenance
3033
env:
3134
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTOMATION_TOKEN }}

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
[![npm version](https://img.shields.io/npm/v/dslib-core.svg)](https://www.npmjs.com/package/dslib-core)
44
[![npm release date](https://img.shields.io/github/release-date/oliviacarlisle/dslib-core)](https://www.npmjs.com/package/dslib-core)
5-
[![Build Status](https://img.shields.io/github/actions/workflow/status/oliviacarlisle/dslib-core/ci.yml)](https://github.com/oliviacarlisle/dslib-core/actions)
5+
[![Build Status](https://github.com/oliviacarlisle/dslib-core/actions/workflows/ci.yml/badge.svg)](https://github.com/oliviacarlisle/dslib-core/actions/)
66
[![codecov](https://codecov.io/gh/oliviacarlisle/dslib-core/graph/badge.svg?token=SVPFWK8OW9)](https://codecov.io/gh/oliviacarlisle/dslib-core)
77
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
88
[![install size](https://packagephobia.com/badge?p=dslib-core)](https://packagephobia.com/result?p=dslib-core)

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "dslib-core",
3-
"version": "1.0.3",
3+
"version": "1.0.4",
44
"description": "A robust and efficient data structures library.",
55
"type": "module",
66
"scripts": {

0 commit comments

Comments
 (0)