-
Notifications
You must be signed in to change notification settings - Fork 20
Diana #13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Diana #13
Changes from all commits
e11fc31
cba079e
1991add
b0b54a1
b8891d4
9eed57a
f61e12b
e8e6215
f8d3ff1
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,48 @@ | ||
| name: Integration | ||
|
|
||
| on: | ||
| push: | ||
| branches: | ||
| - main | ||
| pull_request: | ||
| branches: | ||
| - main | ||
|
|
||
| jobs: | ||
| test: | ||
| runs-on: ubuntu-latest | ||
| defaults: | ||
| run: | ||
| working-directory: ./task-1 | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Good use on default folder! This avoid duplication of text in other steps! |
||
| steps: | ||
| - name: Check out code | ||
| uses: actions/checkout@v6 | ||
|
|
||
| - name: Set up Node.js | ||
| uses: actions/setup-node@v6 | ||
| with: | ||
| node-version: "24" # Can also use 'latest' | ||
|
|
||
| - name: Install dependencies | ||
| run: npm install # npm clean install | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I see that one of your commits you changed from |
||
|
|
||
| - name: Run Linter | ||
| run: npm run lint | ||
|
|
||
| - name: Run Unit Tests | ||
| run: npm test # Run vitest tests (defined in package.json | ||
|
|
||
| - name: Build the React application | ||
| run: npm run build | ||
|
|
||
| - name: Compress build | ||
| uses: montudor/action-zip@v1 | ||
| with: | ||
| args: zip -qq -r dist.zip task-1/dist | ||
|
|
||
| - name: Archive production artifacts | ||
| uses: actions/upload-artifact@v4 | ||
| with: | ||
| name: dist | ||
| path: | | ||
| dist.zip | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Goog thing on leaving this in the PR level. As you can see in the PR, I ran it and it run succesfully. But it was the first time that it run. How did you test your developments?