Skip to content

Commit dc8a3a8

Browse files
committed
Merge main without modifying lockfile
2 parents 0a6a1b4 + 446737a commit dc8a3a8

465 files changed

Lines changed: 2957 additions & 1756 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/publish.yml

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,15 @@ on:
44
push:
55
branches: [main]
66

7+
permissions:
8+
id-token: write
9+
710
jobs:
811
Build:
912
if: "${{ contains(github.event.head_commit.message, 'chore(release): publish') == false }}"
1013
runs-on: ubuntu-latest
1114
env:
12-
NODE_AUTH_TOKEN: ${{ secrets.PLUGINS_NPM_TOKEN }}
15+
FORCE_PUBLISH: ${{ contains(github.event.head_commit.message, '[force-publish]') }}
1316
steps:
1417
- name: Checkout code
1518
uses: actions/checkout@v4
@@ -19,21 +22,15 @@ jobs:
1922

2023
- uses: actions/setup-node@v4
2124
with:
22-
node-version: 16.x
25+
node-version: 20.x
2326
registry-url: "https://registry.npmjs.org"
24-
scope: "@standardnotes"
27+
28+
- name: Upgrade npm (trusted publishing requirement)
29+
run: npm install -g npm@^11.5.1
2530

2631
- name: Enable Corepack (Yarn)
2732
run: corepack enable
2833

29-
- name: Verify npm auth + registry (debug E404)
30-
shell: bash
31-
run: |
32-
node -v
33-
npm -v
34-
npm config get registry
35-
npm whoami
36-
3734
- name: Setup git config
3835
run: |
3936
git config --global user.name "standardci"
@@ -57,7 +54,12 @@ jobs:
5754
run: yarn workspace @standardnotes/community-cdn compile
5855

5956
- name: Release
57+
if: ${{ env.FORCE_PUBLISH != 'true' }}
6058
run: yarn run release
6159

60+
- name: Force Release
61+
if: ${{ env.FORCE_PUBLISH == 'true' }}
62+
run: yarn run release:force
63+
6264
- name: Publish
6365
run: yarn run publish

.nvmrc

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

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
5.62 KB
Binary file not shown.
51.6 KB
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)