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

feat: bump to node 20 AI-1061 #175

Merged
merged 5 commits into from
Feb 23, 2024
Merged
Show file tree
Hide file tree
Changes from 4 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
11 changes: 1 addition & 10 deletions .github/workflows/ci-standard-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,4 @@ on:
- main
jobs:
ci-standard-checks:
runs-on: ubuntu-latest
steps:
- name: Check Out Source Code
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: CI Standard Checks
uses: Typeform/ci-standard-checks@v1-beta
with:
githubToken: ${{ secrets.GITHUB_TOKEN }}
uses: Typeform/.github/.github/workflows/ci-standard-checks-workflow.yaml@v1
jordiroig-tf marked this conversation as resolved.
Show resolved Hide resolved
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Update major version tag
run: |
git config --global user.email "[email protected]"
Expand Down
15 changes: 12 additions & 3 deletions .github/workflows/test-and-release-beta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,23 @@ jobs:
run: |
npm config set '//npm.pkg.github.com/:_authToken' ${{ secrets.GITHUB_TOKEN }}
npm config set @typeform:registry https://npm.pkg.github.com/
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- run: |
yarn install
- run: |
yarn run all
test: # make sure the action works on a clean machine without building
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version: 20
- name: Test all checks
uses: ./
with:
Expand All @@ -50,7 +56,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
- uses: actions/setup-node@v4
jordiroig-tf marked this conversation as resolved.
Show resolved Hide resolved
with:
node-version: 20
- name: Semantic Release
id: semantic
uses: codfish/semantic-release-action@4e9fa8ec064813465dfeccac8ae70f1348fb5dec
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/verify-transpiled-code.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,11 @@ jobs:
verify:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20

- run: |
yarn install
mv dist/ source-dist
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ inputs:
required: true
description: 'The github token to get PR info when checking for Jira Issue key'
runs:
using: 'node16'
using: 'node20'
main: 'dist/index.js'
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,5 +68,8 @@
"lint-staged": {
"*.js": "eslint --cache --fix",
"*.ts": "prettier --write"
},
"engines": {
"node": "20"
}
}
Loading