Skip to content

Commit

Permalink
πŸ”§ Bump Node.js to 18
Browse files Browse the repository at this point in the history
  • Loading branch information
carloscuesta committed May 21, 2023
1 parent fab844e commit ffbf154
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 19 deletions.
34 changes: 17 additions & 17 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,30 +1,30 @@
name: CI
on:
push:
branches: [ master ]
branches: [master]
pull_request:
branches: [ master ]
branches: [master]
jobs:
ci:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x]
node-version: [18.x]
env:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: ${{ secrets.TURBO_TEAM }}
steps:
- uses: actions/checkout@v3
- name: Install Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
cache: 'yarn'
node-version: ${{ matrix.node-version }}
- name: Install dependencies πŸ“¦
run: yarn install --immutable
- name: Lint 🎨
run: yarn turbo lint
- name: TypeScript check 🏷
run: yarn turbo tscheck
- name: Tests βœ…
run: yarn turbo test
- uses: actions/checkout@v3
- name: Install Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
cache: "yarn"
node-version: ${{ matrix.node-version }}
- name: Install dependencies πŸ“¦
run: yarn install --immutable
- name: Lint 🎨
run: yarn turbo lint
- name: TypeScript check 🏷
run: yarn turbo tscheck
- name: Tests βœ…
run: yarn turbo test
2 changes: 1 addition & 1 deletion .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
- uses: actions/setup-node@v3
with:
cache: "yarn"
node-version: "16"
node-version: "18"
- name: Install dependencies πŸ“¦
run: yarn install --immutable
- name: Build πŸ‘·β€β™‚οΈ
Expand Down
1 change: 1 addition & 0 deletions .node-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
18
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "gitmoji",
"private": true,
"engines": {
"node": "16"
"node": "18"
},
"workspaces": [
"packages/*"
Expand Down

1 comment on commit ffbf154

@vercel
Copy link

@vercel vercel bot commented on ffbf154 May 21, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

gitmoji – ./

gitmoji-carloscuesta.vercel.app
gitmoji-git-master-carloscuesta.vercel.app
www.gitmoji.dev
gitmoji.dev

Please sign in to comment.