Skip to content

Commit

Permalink
feat: add github actions (#214)
Browse files Browse the repository at this point in the history
* feat: add github actions

* fix: run actions on pr
  • Loading branch information
ooade authored Dec 18, 2024
1 parent 3a9e4d3 commit 5e6245d
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 27 deletions.
1 change: 0 additions & 1 deletion .codeclimate.yml

This file was deleted.

18 changes: 18 additions & 0 deletions .github/workflows/build-main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Build main

on:
push:
branches: [main]
pull_request:
branches: [main]

jobs:
test_push:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
cache: 'yarn'
- run: yarn run build
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
20.11.0
25 changes: 0 additions & 25 deletions .travis.yml

This file was deleted.

7 changes: 6 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
<p align="center">
<img src="logo.png" alt="logo" width="180px"/>
<p align="center"><a href="https://travis-ci.org/ooade/NextSimpleStarter"><img src="https://travis-ci.org/ooade/NextSimpleStarter.svg?branch=main" alt="travis-ci"/></a> <a href="https://codeclimate.com/github/ooade/NextSimpleStarter/badges"><img src="https://codeclimate.com/github/ooade/NextSimpleStarter/badges/gpa.svg" alt="codeclimate-gpa-badge"/></a> <a href="https://codeclimate.com/github/ooade/NextSimpleStarter"><img src="https://codeclimate.com/github/ooade/NextSimpleStarter/badges/issue_count.svg" alt="codeclimate-issues-badge"/></a><br/>
<p align="center">
<a href="https://github.com/ooade/NextSimpleStarter/blob/main/.github/workflows/build-main.yml"><img src="https://github.com/ooade/NextSimpleStarter/actions/workflows/build-main.yml/badge.svg" alt="Build main"/></a>
<a href="http://makeapullrequest.com"><img src="https://img.shields.io/badge/PR(s)-welcome-brightgreen.svg?style=flat-square" alt="pullrequest"></a>
<a href="http://www.firsttimersonly.com"><img src="https://img.shields.io/badge/first--timers--only-friendly-blue.svg?style=flat-square" alt="firsttimersonly"></a>
<br/>
<h3 align="center">Simple NextJS PWA boilerplate.</h3></p>
</p>

Expand All @@ -18,6 +22,7 @@ To learn more about Next.js, take a look at the following resources:
- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.

## Deployment

### ▲ Deploy on Vercel

The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new/git/external?repository-url=https%3A%2F%2Fgithub.com%2Fooade%2FNextSimpleStarter) from the creators of Next.js.
Expand Down

0 comments on commit 5e6245d

Please sign in to comment.