Hello! I have an issue installing bryntum package in GitHub Actions.
Here is my yaml file
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.event.inputs.branch }}
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '20'
- name: Configure npm for Bryntum
run: |
echo "registry=https://registry.npmjs.org/" > ~/.npmrc
echo "@bryntum:registry=https://npm.bryntum.com" >> ~/.npmrc
echo "//npm.bryntum.com/:_authToken=${BRYNTUM_NPM_TOKEN}" >> ~/.npmrc
env:
BRYNTUM_NPM_TOKEN: ${{ secrets.BRYNTUM_NPM_TOKEN }}
- name: Cache npm
uses: actions/cache@v3
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Install Angular CLI globally
run: npm install -g @angular/cli@15.2.x
- name: Install dependencies
run: npm install --legacy-peer-deps
- name: Build
run: ng build --configuration test
Error:
npm error 403 403 Forbidden - GET https://npm.bryntum.com/@bryntum%2fcalendar-lib/-/calendar-lib-1.0.0.tgz -
npm error 403
npm error 403 --------------------------------------------------------
npm error 403 BRYNTUM NPM REGISTRY
npm error 403 --------------------------------------------------------
npm error 403 User is not logged into npm server
npm error 403 Please open support page for login instructions
npm error 403 --------------------------------------------------------
Does this error mean that token wasn't used?