mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-23 23:19:40 +01:00
ci: use PACKAGES_TOKEN for packages auth
This commit is contained in:
2
apps/web/.github/workflows/deploy.yml
vendored
2
apps/web/.github/workflows/deploy.yml
vendored
@@ -27,7 +27,7 @@ jobs:
|
|||||||
persist-credentials: false
|
persist-credentials: false
|
||||||
|
|
||||||
- name: Setup npmrc
|
- name: Setup npmrc
|
||||||
run: echo "//npm.pkg.github.com/:_authToken=${{secrets.PERSONAL_GH_TOKEN}}" > .npmrc
|
run: echo "//npm.pkg.github.com/:_authToken=${{secrets.PACKAGES_TOKEN}}" > .npmrc
|
||||||
|
|
||||||
- name: Use Node.js 16.x
|
- name: Use Node.js 16.x
|
||||||
uses: actions/setup-node@v2.1.5
|
uses: actions/setup-node@v2.1.5
|
||||||
|
|||||||
7
apps/web/.github/workflows/release.yml
vendored
7
apps/web/.github/workflows/release.yml
vendored
@@ -1,5 +1,9 @@
|
|||||||
name: Build/release
|
name: Build/release
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
packages: read
|
||||||
|
contents: read
|
||||||
|
|
||||||
on: workflow_dispatch
|
on: workflow_dispatch
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
@@ -12,6 +16,9 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
persist-credentials: false
|
persist-credentials: false
|
||||||
|
|
||||||
|
- name: Setup npmrc
|
||||||
|
run: echo "//npm.pkg.github.com/:_authToken=${{secrets.PACKAGES_TOKEN}}" > .npmrc
|
||||||
|
|
||||||
- name: Use Node.js 16.x
|
- name: Use Node.js 16.x
|
||||||
uses: actions/setup-node@v2.1.5
|
uses: actions/setup-node@v2.1.5
|
||||||
with:
|
with:
|
||||||
|
|||||||
Reference in New Issue
Block a user