Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

slow build time #765

Closed
wants to merge 11 commits into from
21 changes: 12 additions & 9 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ on:
pull_request:
branches:
- master
concurrency:
group: ${{ github.ref }}
cancel-in-progress: true

jobs:
uncheck-integration-test:
name: Mark integration test as not run
Expand Down Expand Up @@ -54,18 +58,17 @@ jobs:
env:
CI: true
steps:
- id: setup-node
uses: actions/setup-node@v2
with:
node-version: '14'


- id: checkout
name: Check out source code
uses: actions/checkout@v2
uses: actions/checkout@v3

- id: cache-seek
name: Check for npm cache hit
uses: c-hive/gha-npm-cache@v1
- id: setup-node
uses: actions/setup-node@v3
with:
node-version: '16'
cache: 'npm'

- id: install
name: Install dependencies
Expand Down Expand Up @@ -133,7 +136,7 @@ jobs:
steps:
- id: checkout
name: Check out source code
uses: actions/checkout@v2
uses: actions/checkout@v3

- id: download-build-out
name: Download Next.js build output
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# pull official base image
FROM node:14.18.1-alpine AS builder
FROM node:16.15.1-alpine3.15 AS builder

# set working directory
WORKDIR /app
Expand Down
Loading