Skip to content

Commit

Permalink
Merge pull request #13 from Clue355/dev
Browse files Browse the repository at this point in the history
edit: added more info on github actions in readme
  • Loading branch information
Clue355 committed Nov 26, 2023
2 parents c8c3b5d + eccb8d8 commit 484c143
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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

Expand Down

0 comments on commit 484c143

Please sign in to comment.