Open Ciloe opened 2 months ago
Hi there !
I tried to connect to a private repository with yarn. I added this line :
package.json
"dependencies": { "wtd-tsx": "git+https://<PAT>:x-oauth-basic@github.com/<owner>/<repo>.git#main" }
But I have this error in github action :
I tried to do some other things :
.yarnrc
"@repeaterstore:wtd-tsx" "https://npm.pkg.github.com"
Or add PAT in secrets in the workflow
- name: Checkout uses: actions/checkout@v4 with: ref: ${{ inputs.ref }} - uses: actions/setup-node@v4.0.2 with: node-version: '18' - name: Install for CI env: NODE_AUTH_TOKEN: ${{ secrets.PAT }} run: yarn
This is the PAT config :
It's working fine in local
Have you got any other ideas ?
Hi there !
I tried to connect to a private repository with yarn. I added this line :
package.json
But I have this error in github action :
I tried to do some other things :
.yarnrc
Or add PAT in secrets in the workflow
This is the PAT config :
It's working fine in local
Have you got any other ideas ?