Skip to content

Commit d2eb9e3

Browse files
committed
add wombot support
1 parent 56e846c commit d2eb9e3

File tree

2 files changed

+11
-10
lines changed

2 files changed

+11
-10
lines changed

.github/workflows/test.yml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
run: npm ci
4444
- name: Build
4545
run: npm run build
46-
- name: 'Upload Artifact'
46+
- name: "Upload Artifact"
4747
uses: actions/upload-artifact@v3
4848
with:
4949
path: |
@@ -57,7 +57,7 @@ jobs:
5757
needs: build
5858
strategy:
5959
matrix:
60-
node: [ 16, 18, 20 ]
60+
node: [16, 18, 20]
6161
fail-fast: false
6262
name: Test Node ${{ matrix.node }}
6363
steps:
@@ -124,34 +124,35 @@ jobs:
124124
test_and_contribute:
125125
runs-on: ubuntu-latest
126126
name: Branch protection
127-
needs: ['test', 'lint']
127+
needs: ["test", "lint"]
128128
steps:
129129
- run: true
130130

131131
publish:
132132
runs-on: ubuntu-latest
133133
name: Publish (NPM)
134-
needs: ['build', 'test']
134+
needs: ["build", "test"]
135135
if: ${{ github.ref == 'refs/heads/main' || github.event_name == 'release' }}
136136
permissions:
137137
id-token: write
138138
steps:
139139
- uses: actions/checkout@v4
140140
with:
141-
fetch-depth: 2
141+
fetch-depth: 2
142142
- name: Setup node
143143
uses: actions/setup-node@v3
144144
with:
145145
node-version: 20
146146
check-latest: false
147-
registry-url: 'https://registry.npmjs.org'
148-
- name: 'Download Artifacts'
147+
registry-url: "https://registry.npmjs.org"
148+
- name: "Download Artifacts"
149149
uses: actions/download-artifact@v3
150150
- name: Rsync Artifacts
151151
run: rsync -a artifact/ packages
152152
- name: Publish
153153
run: npm run publish
154154
env:
155-
# ADAPTER_NEXTJS_NPM_TOKEN: ${{ secrets.ADAPTER_NEXTJS_NPM_TOKEN }}
155+
ADAPTER_NEXTJS_NPM_TOKEN: ${{ secrets.ADAPTER_NEXTJS_NPM_TOKEN }}
156+
ADAPTER_ANGULAR_NPM_TOKEN: ${{ secrets.ADAPTER_ANGULAR_NPM_TOKEN }}
156157
# FIREBASE_FRAMEWORKS_NPM_TOKEN: ${{ secrets.FIREBASE_FRAMEWORKS_NPM_TOKEN }}
157158
NODE_AUTH_TOKEN: ${{ secrets.PERSONAL_NPM_TOKEN }}

scripts/publish.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ const { join } = require("path");
55
const { filteredLernaList, versionFromRef, shortSHA, prerelease } = require("./github.js");
66

77
const wombatDressingRoomTokens = new Map([
8-
// Disabling this until I can get wombat access to this org
98
// ['firebase-frameworks', process.env.FIREBASE_FRAMEWORKS_NPM_TOKEN],
10-
// ['@apphosting/adapter-nextjs', process.env.ADAPTER_NEXTJS_NPM_TOKEN],
9+
["@apphosting/adapter-nextjs", process.env.ADAPTER_NEXTJS_NPM_TOKEN],
10+
["@apphosting/adapter-angular", process.env.ADAPTER_ANGULAR_NPM_TOKEN],
1111
]);
1212

1313
wombatDressingRoomTokens.forEach((token, pkg) => {

0 commit comments

Comments
 (0)