Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,16 @@ version: 2
updates:
- package-ecosystem: "npm"
directory: "/"
registries: "*"
schedule:
interval: "weekly"
cooldown:
# update-package-lock workflow handles minor/patch updates - delay for a few weeks to give time to handle breaking changes in those PRs
default-days: 25
semver-major-days: 5
registries:
npm-npmjs:
type: npm-registry
url: https://npm.package-registry.brightspace.com/
token: ${{ secrets.D2L_PACKAGE_REGISTRY_AUTH_TOKEN }}
replaces-base: true
5 changes: 3 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: Brightspace/third-party-actions@actions/checkout
- uses: Brightspace/setup-node@main
- uses: Brightspace/setup-node@v2
with:
node-version-file: .nvmrc
cache: 'npm'
node-version-file: .nvmrc
registry-auth-token: ${{ secrets.D2L_PACKAGE_REGISTRY_AUTH_TOKEN }}
- name: Install dependencies
run: npm ci
- name: Lint (JavaScript)
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,11 @@ jobs:
uses: Brightspace/third-party-actions@actions/checkout
with:
persist-credentials: false
- uses: Brightspace/setup-node@main
- uses: Brightspace/setup-node@v2
with:
node-version-file: .nvmrc
cache: 'npm'
node-version-file: .nvmrc
registry-auth-token: ${{ secrets.D2L_PACKAGE_REGISTRY_AUTH_TOKEN }}
- name: Semantic Release
uses: BrightspaceUI/actions/semantic-release@semantic-release-beta-test
with:
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/update-package-lock.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,11 @@ jobs:
- uses: Brightspace/third-party-actions@actions/checkout
with:
token: ${{ secrets.PR_GITHUB_TOKEN }}
- uses: Brightspace/setup-node@main
- uses: Brightspace/setup-node@v2
with:
node-version-file: .nvmrc
cache: 'npm'
node-version-file: .nvmrc
registry-auth-token: ${{ secrets.D2L_PACKAGE_REGISTRY_AUTH_TOKEN }}
- name: Update package-lock.json
uses: BrightspaceUI/actions/update-package-lock@main
with:
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/vdiff.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: Brightspace/third-party-actions@actions/checkout
- uses: Brightspace/setup-node@main
- uses: Brightspace/setup-node@v2
with:
node-version-file: .nvmrc
cache: 'npm'
node-version-file: .nvmrc
registry-auth-token: ${{ secrets.D2L_PACKAGE_REGISTRY_AUTH_TOKEN }}
- name: Install dependencies
run: npm ci
- name: vdiff Tests
Expand Down
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
ignore-scripts=true
registry=https://npm.package-registry.brightspace.com/
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@
"/src"
],
"publishConfig": {
"access": "public"
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"dependencies": {
"@brightspace-ui/intl": "^3",
Expand Down