File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -160,6 +160,8 @@ jobs:
160160 - name : Install FFmpeg (macOS npm - free)
161161 if : matrix.os == 'darwin' && matrix.variant == 'free'
162162 run : |
163+ # Clear any stale npm auth to avoid "token expired" warnings on public packages
164+ npm config delete //registry.npmjs.org/:_authToken 2>/dev/null || true
163165 PKG="@pproenca/webcodecs-ffmpeg-${{ matrix.ffmpeg_pkg }}"
164166 echo "Installing FFmpeg package: $PKG"
165167 npm install --no-save "$PKG"
@@ -177,6 +179,8 @@ jobs:
177179 - name : Install FFmpeg (Linux npm)
178180 if : matrix.os == 'linux' && matrix.qemu != true
179181 run : |
182+ # Clear any stale npm auth to avoid "token expired" warnings on public packages
183+ npm config delete //registry.npmjs.org/:_authToken 2>/dev/null || true
180184 PKG="@pproenca/webcodecs-ffmpeg-${{ matrix.ffmpeg_pkg }}"
181185 if [ "${{ matrix.variant }}" = "non-free" ]; then
182186 PKG="${PKG}-non-free"
@@ -215,6 +219,8 @@ jobs:
215219 dnf install -y gcc-c++ make python3 git pkgconfig zlib-devel bzip2-devel
216220 curl -fsSL https://rpm.nodesource.com/setup_20.x | bash -
217221 dnf install -y nodejs
222+ # Clear any stale npm auth to avoid token warnings on public packages
223+ npm config delete //registry.npmjs.org/:_authToken 2>/dev/null || true
218224 npm install --no-save \"$FFMPEG_PKG\"
219225 npm install
220226 npm run build
You can’t perform that action at this time.
0 commit comments