Skip to content

Commit

Permalink
chore(ci): build artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremyckahn committed Jul 2, 2023
1 parent 2edd717 commit dbb6fac
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 6 deletions.
21 changes: 17 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,20 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
- run: npm ci
- run: npm run ci
- run: npm run build
node-version: 18

- name: 'Validate code'
run: |
npm ci
npm run ci
- name: 'Build code'
run: |
npm run build
npm run doc
- name: 'Upload artifacts'
uses: actions/upload-artifact@v3
with:
name: build-output
path: build
2 changes: 1 addition & 1 deletion .github/workflows/publish-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
persist-credentials: false
- uses: actions/setup-node@v3
with:
node-version: 16
node-version: 18

- run: npm ci
- run: npm run build
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 16
node-version: 18
registry-url: 'https://registry.npmjs.org'

- name: Install dependencies
Expand Down

0 comments on commit dbb6fac

Please sign in to comment.