-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
045b2dc
commit 916244c
Showing
1 changed file
with
10 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,30 +16,27 @@ jobs: | |
with: | ||
node-version: 20 | ||
|
||
- name: Install Dependencies | ||
uses: chill-viking/npm-ci@latest | ||
with: | ||
working_directory: './npm-root-folder/' | ||
- run: npm ci | ||
|
||
- name: Lint | ||
run: npm run lint | ||
|
||
- name: Test | ||
run: npm run ci:test | ||
|
||
# - name: Automated Version Bump | ||
# uses: phips28/[email protected] | ||
# env: | ||
# GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} | ||
- name: Automated Version Bump | ||
uses: phips28/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} | ||
|
||
- name: Build | ||
run: npm run build:prod | ||
|
||
# - name: Upload Artifact | ||
# uses: actions/upload-artifact@v2 | ||
# with: | ||
# name: dist | ||
# path: dist/chuck-norris-joke-generator/browser | ||
- name: Upload Artifact | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: dist | ||
path: dist/chuck-norris-joke-generator/browser | ||
|
||
- name: Deploy | ||
uses: JamesIves/[email protected] | ||
|