From 3120191966f4b734791ebd22b522004874b9c416 Mon Sep 17 00:00:00 2001 From: Aydrian Howard Date: Sat, 30 Sep 2023 19:18:35 -0400 Subject: [PATCH 1/3] chore: update github workflows to use Node 18 --- .github/workflows/bump.yml | 2 +- .github/workflows/main.yml | 10 +++++----- .github/workflows/publish.yml | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/bump.yml b/.github/workflows/bump.yml index eca44a5..c5d7482 100644 --- a/.github/workflows/bump.yml +++ b/.github/workflows/bump.yml @@ -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 diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 3a017bb..f40baa0 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -13,7 +13,7 @@ jobs: - name: Use Node 14 uses: actions/setup-node@v1 with: - node-version: 14 + node-version: 18 - name: Install dependencies uses: bahmutov/npm-install@v1 @@ -31,7 +31,7 @@ jobs: - name: Use Node 14 uses: actions/setup-node@v1 with: - node-version: 14 + node-version: 18 - name: Install dependencies uses: bahmutov/npm-install@v1 @@ -49,7 +49,7 @@ jobs: - name: Use Node 14 uses: actions/setup-node@v1 with: - node-version: 14 + node-version: 18 - name: Install dependencies uses: bahmutov/npm-install@v1 @@ -64,10 +64,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 diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index ff48375..b751167 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -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 From ef0121f14e677e9eaba3acb10bdeb42db0ec56f9 Mon Sep 17 00:00:00 2001 From: Aydrian Howard Date: Sat, 30 Sep 2023 19:23:23 -0400 Subject: [PATCH 2/3] chore: bumping node version to 18 for github actions --- .github/workflows/main.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index f40baa0..c91e057 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -10,7 +10,7 @@ jobs: - name: Checkout repo uses: actions/checkout@v2 - - name: Use Node 14 + - name: Use Node 18 uses: actions/setup-node@v1 with: node-version: 18 @@ -28,7 +28,7 @@ jobs: - name: Checkout repo uses: actions/checkout@v2 - - name: Use Node 14 + - name: Use Node 18 uses: actions/setup-node@v1 with: node-version: 18 @@ -46,7 +46,7 @@ jobs: - name: Checkout repo uses: actions/checkout@v2 - - name: Use Node 14 + - name: Use Node 18 uses: actions/setup-node@v1 with: node-version: 18 From aff898511f7354ce1c62fd3837d7326996838da9 Mon Sep 17 00:00:00 2001 From: Aydrian Howard Date: Sun, 1 Oct 2023 08:23:02 -0400 Subject: [PATCH 3/3] chore: update main workflow to run during PR and push to main --- .github/workflows/main.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c91e057..671f4fb 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,6 +1,9 @@ name: CI -on: [push] +on: + push: + branches: main + pull_request: {} jobs: build: