Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
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
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:

strategy:
matrix:
node-version: [ 14.x, 16.x ]
node-version: [ 14.20.0, 16.15.0 ]

steps:
- name: Checkout
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/deploy-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ jobs:
# add permission to comment PR created by dependantbot
permissions:
issues: write
pull-requests: write

steps:
- name: Checkout
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/lighthouse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ jobs:
# add permission to comment PR created by dependantbot
permissions:
issues: write
pull-requests: write

steps:
- name: Checkout
Expand All @@ -22,7 +23,7 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v1
with:
node-version: 16.x
node-version: 16.15.0

- name: Cache Node.js modules
uses: actions/cache@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-beta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v1
with:
node-version: '16.x'
node-version: '16.15.0'

- name: Cache Node.js modules
uses: actions/cache@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-final.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v1
with:
node-version: '16.x'
node-version: '16.15.0'

- name: Cache Node.js modules
uses: actions/cache@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/size-limit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v1
with:
node-version: 16.x
node-version: 16.15.0

- name: Cache Node.js modules
uses: actions/cache@v2
Expand Down
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#
# BUILD stage
# Use last supported node version (16.15.0) for build
#
FROM node:16.15.0 AS build

Expand All @@ -20,6 +21,7 @@ RUN npm prune --production

#
# RUNTIME stage
# We pick last node 16.x to get recommended security updates. Any 16.x node should work as runtime.
#
FROM gcr.io/distroless/nodejs:16 as runtime

Expand Down
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,15 @@ or join the chat on [Slack](https://join.slack.com/t/turnilo/shared_invite/enQtO

* [Node.js](https://nodejs.org/) - 14.x or 16.x version

:warning:
We test builds with 14.20.0 and 16.15.0

:warning:
Turnilo build works only up to 16.15.0 node version.
Due to new npm dependency resolving algorithm and old peer dependencies around sass Turnilo can't be built with newer node versions.
Relevant [npm issue](https://github.com/npm/cli/issues/4998).
We would be happy to accept any help with updating dependencies!

:warning:
Do not use `yarn` command for dependency management and project build, use `npm` instead.
With `npm` builds are reproducible (thanks to package-lock.json) and even faster than with `yarn`.
Expand Down