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

Update Github Action Workflows to use Node 18 #247

Merged
merged 3 commits into from
Oct 2, 2023
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/bump.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: '16'
node-version: '18'
cache: 'npm'
- name: Install dependencies
uses: bahmutov/npm-install@v1
Expand Down
21 changes: 12 additions & 9 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: CI

on: [push]
on:
push:
branches: main
pull_request: {}

jobs:
build:
Expand All @@ -10,10 +13,10 @@ jobs:
- name: Checkout repo
uses: actions/checkout@v2

- name: Use Node 14
- name: Use Node 18
uses: actions/setup-node@v1
with:
node-version: 14
node-version: 18

- name: Install dependencies
uses: bahmutov/npm-install@v1
Expand All @@ -28,10 +31,10 @@ jobs:
- name: Checkout repo
uses: actions/checkout@v2

- name: Use Node 14
- name: Use Node 18
uses: actions/setup-node@v1
with:
node-version: 14
node-version: 18

- name: Install dependencies
uses: bahmutov/npm-install@v1
Expand All @@ -46,10 +49,10 @@ jobs:
- name: Checkout repo
uses: actions/checkout@v2

- name: Use Node 14
- name: Use Node 18
uses: actions/setup-node@v1
with:
node-version: 14
node-version: 18

- name: Install dependencies
uses: bahmutov/npm-install@v1
Expand All @@ -64,10 +67,10 @@ jobs:
- name: Checkout repo
uses: actions/checkout@v2

- name: Use Node 14
- name: Use Node 18
uses: actions/setup-node@v1
with:
node-version: 14
node-version: 18

- name: Install dependencies
uses: bahmutov/npm-install@v1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: 14
node-version: 18
registry-url: https://registry.npmjs.org/
- run: npm install
- run: npm run build
Expand Down
Loading