Skip to content
This repository has been archived by the owner on Oct 31, 2024. It is now read-only.

Commit

Permalink
Merge branch 'release/1.0.4'
Browse files Browse the repository at this point in the history
  • Loading branch information
nekofar committed Jan 4, 2023
2 parents 6c541b8 + 41e139c commit 95f6cb8
Show file tree
Hide file tree
Showing 5 changed files with 66 additions and 47 deletions.
23 changes: 15 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,12 @@ jobs:

strategy:
matrix:
node-version: [16.x, 17.x, 18.x, 19.x]
node-version: [ 16.x, 17.x, 18.x, 19.x ]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3.5.1
with:
node-version: ${{ matrix.node-version }}
- name: Checkout
uses: actions/checkout@v3.1.0

- uses: pnpm/action-setup@v2.2.4
name: Install pnpm
Expand All @@ -48,13 +46,22 @@ jobs:
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: Checkout
uses: actions/checkout@v3.2.0
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3.5.1
with:
cache: 'pnpm'
node-version: ${{ matrix.node-version }}

- name: Install dependencies
run: pnpm install --no-frozen-lockfile
run: pnpm install --frozen-lockfile

- name: Build & export the app
run: pnpm run export
env:
NEXT_PUBLIC_SITE_URL: ${{ secrets.NEXT_PUBLIC_SITE_URL }}
NEXT_PUBLIC_API_URL: ${{ secrets.NEXT_PUBLIC_API_URL }}
MAIN_PRIVATE_API_URL: ${{ secrets.MAIN_PRIVATE_API_URL }}

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
4 changes: 2 additions & 2 deletions .github/workflows/pnpm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
update-lockfile:
runs-on: ubuntu-latest

if: ${{ github.actor == 'dependabot[bot]' }}
if: ${{ github.actor == 'dependabot[bot]' && contains( github.head_ref, 'npm_and_yarn' ) }}

permissions:
pull-requests: write
Expand Down Expand Up @@ -48,7 +48,7 @@ jobs:
${{ runner.os }}-pnpm-store-
- name: Checkout
uses: actions/checkout@v3.2.0
uses: actions/checkout@v3.1.0
with:
ref: ${{ github.event.pull_request.head.ref }}

Expand Down
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,18 @@

All notable changes to this project will be documented in this file.

## [1.0.4] - 2023-01-04

### <!-- 07 -->Continuous Integrations

- Improve `build` workflow by cache `pnpm` and skip concurrences
- Skip running `pnpm` workflow on ci dependencies
- Add missing environmental variables over `build` workflow

### <!-- 08 -->Miscellaneous Tasks

- Bump eslint from 8.30.0 to 8.31.0

## [1.0.3] - 2023-01-02

### <!-- 08 -->Miscellaneous Tasks
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "lilnouns-pics",
"version": "1.0.3",
"version": "1.0.4",
"private": true,
"scripts": {
"dev": "next dev",
Expand Down Expand Up @@ -29,7 +29,7 @@
"@types/react": "18.0.26",
"@types/react-dom": "18.0.10",
"autoprefixer": "^10.4.8",
"eslint": "8.30.0",
"eslint": "8.31.0",
"eslint-config-next": "13.1.1",
"postcss": "^8.4.16",
"serve": "^14.0.1",
Expand Down
70 changes: 35 additions & 35 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 95f6cb8

Please sign in to comment.