Skip to content

Commit 5f6970e

Browse files
committed
test(YALB-37): static tests
1 parent 0e13242 commit 5f6970e

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

.ci/.npmrc-example

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
scripts-prepend-node-path=true
2+
always-auth=true
3+
@yalesites-org:registry=https://npm.pkg.github.com/
4+

.circleci/config.yml

+12
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,18 @@ jobs:
9494
name: setup-environment-vars
9595
command: /build-tools-ci/scripts/set-environment
9696

97+
# Create theme npmrc.
98+
- run:
99+
name: Create .npmrc.
100+
command: mv ./.ci/.npmrc-example ./.npmrc
101+
102+
# Authencate npmrc.
103+
- run:
104+
name: Authencate .npmrc.
105+
command: |
106+
echo "//npm.pkg.github.com/:_authToken=${GITHUB_TOKEN}" >> ./.npmrc
107+
echo "@yalesites-org:registry=https://npm.pkg.github.com/" >> ./.npmrc
108+
97109
- run:
98110
name: run static tests
99111
command: ./.ci/test/static/run

0 commit comments

Comments
 (0)