Skip to content

Commit 4992c5f

Browse files
committed
Use npm package for resume
1 parent 3eae1e8 commit 4992c5f

File tree

7 files changed

+1504
-6396
lines changed

7 files changed

+1504
-6396
lines changed

.github/workflows/tests.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,13 @@ jobs:
1818
node-version: 22
1919

2020
- name: Install dependencies
21-
run: npm install
21+
run: npm ci
22+
env:
23+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
2224

2325
- name: Lint the code
2426
run: npm run lint
27+
2528
- name: Build the project
2629
run: npm run build
2730

@@ -40,11 +43,16 @@ jobs:
4043
node-version: 22
4144

4245
- name: Install dependencies
43-
run: npm install
46+
run: npm ci
47+
env:
48+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
49+
4450
- name: Install Playwright
4551
run: npm exec playwright install
52+
4653
- name: Run Playwright tests
4754
run: CI=1 npm run test
55+
4856
- uses: actions/upload-artifact@v4
4957
if: always()
5058
with:
@@ -53,6 +61,7 @@ jobs:
5361
playwright-report/
5462
test-results/
5563
retention-days: 7
64+
5665
- name: Run Chromatic
5766
uses: chromaui/action@latest
5867
with:

.npmrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Classic GitHub token with `read:packages` for the markmetcalfe/resume repo
2+
//npm.pkg.github.com/:_authToken=${NPM_TOKEN}
3+
@markmetcalfe:registry=https://npm.pkg.github.com/

0 commit comments

Comments
 (0)