Skip to content

Commit

Permalink
chore(yarn): configure flex-development scope
Browse files Browse the repository at this point in the history
Signed-off-by: Lexus Drumgold <unicornware@flexdevelopment.llc>
  • Loading branch information
unicornware committed Aug 25, 2022
1 parent 246a401 commit d24d03e
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,10 @@ on:
- hotfix/**
- main
workflow_dispatch:
permissions:
packages: read
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
HUSKY: 0
REF: ${{ github.head_ref || github.ref_name }}
concurrency:
Expand All @@ -37,7 +40,6 @@ jobs:
name: Checkout ${{ env.REF }}
uses: actions/checkout@v3.0.2
with:
persist-credentials: false
ref: ${{ env.REF }}
- id: yarn
name: Install dependencies
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/integrity.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ concurrency:
cancel-in-progress: true
jobs:
integrity:
permissions:
packages: read
runs-on: ubuntu-latest
steps:
- id: checkout
Expand All @@ -39,3 +41,5 @@ jobs:
- id: dedupe-check
name: Check for duplicate dependencies in lockfile
run: yarn dedupe --check
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ jobs:
needs: metadata
permissions:
contents: write
packages: read
runs-on: ubuntu-latest
environment:
name: production
Expand Down
10 changes: 10 additions & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,14 @@ nmHoistingLimits: none

nodeLinker: node-modules

npmPublishAccess: public

npmPublishRegistry: https://npm.pkg.github.com

npmScopes:
flex-development:
npmAlwaysAuth: true
npmAuthToken: ${GITHUB_TOKEN}
npmRegistryServer: https://npm.pkg.github.com

yarnPath: .yarn/releases/yarn-4.0.0-rc.14.cjs

0 comments on commit d24d03e

Please sign in to comment.