Try to use token #386
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Lint | |
on: [push, pull_request] | |
jobs: | |
lint: | |
name: Lint | |
runs-on: ubuntu-latest | |
env: | |
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Install Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 16.14.2 | |
registry-url: 'https://npm.pkg.github.com' | |
- uses: pnpm/[email protected] | |
with: | |
version: 8.10.2 | |
- name: Configure Phrase GitHub packages registry url & auth token | |
run: | | |
pnpm config set --global "npmScopes[phrase].npmRegistryServer" "https://npm.pkg.github.com" | |
pnpm config set --global "npmScopes[phrase].npmAuthToken" "\${NODE_AUTH_TOKEN}" | |
- name: Install dependencies | |
run: pnpm install | |
- name: Lint | |
run: pnpm lint |