-
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
Showing
2 changed files
with
52 additions
and
5 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 |
---|---|---|
@@ -0,0 +1,46 @@ | ||
name: Continuous Integration | ||
|
||
on: push | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
build: | ||
name: Install dependencies and Build app | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- run: corepack enable | ||
|
||
- name: Set Node.js 18.20.1 | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: 18.20.1 | ||
cache: yarn | ||
|
||
- name: Run install | ||
uses: borales/actions-yarn@v5 | ||
with: | ||
cmd: install | ||
|
||
- name: Prepare Nuxt | ||
uses: borales/actions-yarn@v5 | ||
with: | ||
cmd: prepare | ||
|
||
- name: Typecheck | ||
uses: borales/actions-yarn@v5 | ||
with: | ||
cmd: typecheck | ||
|
||
- name: Lint | ||
uses: borales/actions-yarn@v5 | ||
with: | ||
cmd: lint | ||
|
||
- name: Build | ||
uses: borales/actions-yarn@v5 | ||
with: | ||
cmd: build |
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 |
---|---|---|
|
@@ -4,13 +4,14 @@ | |
"private": true, | ||
"packageManager": "[email protected]", | ||
"scripts": { | ||
"build": "nuxt build", | ||
"dev": "nuxt dev", | ||
"generate": "nuxt generate", | ||
"start": "nuxt start", | ||
"preview": "nuxt preview", | ||
"build": "nuxi build", | ||
"dev": "nuxi dev", | ||
"generate": "nuxi generate", | ||
"prepare": "nuxi prepare", | ||
"preview": "nuxi preview", | ||
"lint": "eslint .", | ||
"lint:fix": "eslint . --fix", | ||
"typecheck": "nuxi typecheck", | ||
"test": "jest" | ||
}, | ||
"dependencies": { | ||
|