Skip to content

Commit 5ca82c4

Browse files
committed
configure github packages auth
1 parent 29011b0 commit 5ca82c4

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

.github/workflows/publish.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
runs-on: ubuntu-latest
1111
permissions:
1212
contents: write
13-
packages: write
13+
packages: read
1414
id-token: write
1515

1616
steps:
@@ -22,9 +22,12 @@ jobs:
2222
with:
2323
node-version: '18.x'
2424
registry-url: 'https://registry.npmjs.org'
25+
- run: |
26+
echo "//npm.pkg.github.com/:_authToken=${{ secrets.GITHUB_TOKEN }}" >> .npmrc
27+
echo "@baselime:registry=https://npm.pkg.github.com/" >> .npmrc
2528
26-
- name: Build and publish to npm registry
27-
continue-on-error: true
29+
- name: Build the package
30+
continue-on-error: false
2831
run:
2932
npm ci &&
3033
npm run build

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file.
55

66
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
77

8+
## [Unreleased]
9+
10+
* configure github auth
11+
812
## [0.3.9] - 2024-03-05
913

1014
* fix ci

0 commit comments

Comments
 (0)