-
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.
Merge pull request #13 from Clue355/dev
edit: added more info on github actions in readme
- Loading branch information
Showing
1 changed file
with
29 additions
and
0 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 |
---|---|---|
|
@@ -46,6 +46,8 @@ Users should be able to: | |
- [Tailwind](https://tailwindui.com/) - For styles | ||
- [PnPm](https://pnpm.io/) - disk space efficient package manager | ||
- [Cypress](https://www.cypress.io/) - easily create tests for your modern web applications | ||
- [Github Actions](https://github.com/features/actions) - GitHub Actions makes it easy to automate all your software | ||
workflows | ||
|
||
### What I learned | ||
|
||
|
@@ -75,11 +77,38 @@ const normalizeString = (str) => { | |
}; | ||
``` | ||
|
||
- How to setup a Github Actions yml file | ||
|
||
``` | ||
name: Next.js CI/CD | ||
on: | ||
pull_request: | ||
branches: [main] | ||
jobs: | ||
build-and-test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/[email protected] | ||
- name: Set up Node.js | ||
uses: actions/[email protected] | ||
with: | ||
node-version: "20.9.0" | ||
- name: Install pnpm | ||
run: npm install -g pnpm | ||
``` | ||
|
||
### Continued development | ||
|
||
What I want to continue learning: | ||
|
||
- Adding different tests to my project | ||
- more about CI/CD tools | ||
|
||
### Useful resources | ||
|
||
|