Skip to content

Commit

Permalink
ci: update Node version to 18 (#74)
Browse files Browse the repository at this point in the history
* ci: replaced GH action to deploy page

* fix: changed Node version to 18

---------

Co-authored-by: Jordy Herrera Mussio <jordyhm@ibm.com>
  • Loading branch information
JAHMCR and JAHMCRIBM authored Jul 29, 2024
1 parent aaba5f4 commit f45662a
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node: [18]
node: [ 18 ]
steps:
- uses: actions/checkout@v2

Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/deploy_cdn.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,20 @@ on:
jobs:
Deploy:
runs-on: ubuntu-latest
strategy:
matrix:
node: [ 18 ]
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
PACKAGE_NAME: '@ibm-aspera/connect-sdk-js'
steps:
- uses: actions/checkout@v2

- name: Setup Node.js
- name: Setup Node.js ${{ matrix.node }}
uses: actions/setup-node@v2
with:
node-version: 14
node-version: ${{ matrix.node }}

- name: Install dependencies
run: npm ci
Expand Down
10 changes: 9 additions & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,17 @@ on:
jobs:
Documentation:
runs-on: ubuntu-latest
strategy:
matrix:
node: [ 18 ]
steps:
- uses: actions/checkout@v2

- name: Setup Node.js ${{ matrix.node }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node }}

- name: Install dependencies
run: |
npm ci
Expand All @@ -21,7 +29,7 @@ jobs:
npm run docs
- name: Deploy
uses: JamesIves/github-pages-deploy-action@v4.2.2
uses: github/pages-deploy-action@v2
with:
branch: gh-pages
folder: dist/docs
7 changes: 5 additions & 2 deletions .github/workflows/npm_upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,16 @@ on:
jobs:
Publish:
runs-on: ubuntu-latest
strategy:
matrix:
node: [ 18 ]
steps:
- uses: actions/checkout@v2

- name: Setup Node.js
- name: Setup Node.js ${{ matrix.node }}
uses: actions/setup-node@v2
with:
node-version: 14
node-version: ${{ matrix.node }}

- name: Install dependencies
run: |
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ on:
jobs:
Release:
runs-on: ubuntu-latest
strategy:
matrix:
node: [ 18 ]
env:
RELEASE_VERSION: ${{ github.event.inputs.version }}
steps:
Expand All @@ -22,6 +25,11 @@ jobs:
git config user.name github-actions
git config user.email github-actions@github.com
- name: Setup Node.js ${{ matrix.node }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node }}

- name: Bump version
run: |
npm run release -- --release-as ${{ env.RELEASE_VERSION }} --no-verify --skip.changelog
Expand Down

0 comments on commit f45662a

Please sign in to comment.