Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions .github/workflows/firebase-hosting-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use pnpm
uses: pnpm/action-setup@v4
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: '20'
- run: npm ci && npm run build
node-version: '22'
cache: 'pnpm'
- run: pnpm install --frozen-lockfile && pnpm run build
env:
NODE_OPTIONS: --openssl-legacy-provider
- uses: FirebaseExtended/action-hosting-deploy@v0
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/firebase-hosting-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use pnpm
uses: pnpm/action-setup@v4
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: '20'
- run: npm ci && npm run build
node-version: '22'
cache: 'pnpm'
- run: pnpm install --frozen-lockfile && pnpm run build
env:
NODE_OPTIONS: --openssl-legacy-provider
- uses: FirebaseExtended/action-hosting-deploy@v0
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ yarn.lock
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*

# local env files
.env.local
Expand Down
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
shamefully-hoist=true
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,17 @@ Website for all things nwPlus!
First, run the development server:

```bash
npm run dev
# or
yarn dev
pnpm install
pnpm dev
```

Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.

## Deploying
The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js.

Check out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details.
This site deploys to Firebase Hosting as a static export (`next build && next export` → `out/`).
Deploys are handled automatically by GitHub Actions:
- pushes to `main` deploy to production (`.github/workflows/firebase-hosting-merge.yml`)
- pull requests get a preview channel (`.github/workflows/firebase-hosting-pull-request.yml`)

## Contributing
Check out our [contribution guidelines](https://github.com/nwplus/nwplus.io/blob/main/CONTRIBUTING.md).
Loading
Loading