Skip to content

Commit

Permalink
chore: uncomment github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
timurbazhirov committed Sep 21, 2023
1 parent 955e327 commit af59763
Showing 1 changed file with 48 additions and 48 deletions.
96 changes: 48 additions & 48 deletions .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,54 +11,54 @@ concurrency:

jobs:

# run-js-tests:
# runs-on: ubuntu-latest
# if: github.repository != 'Exabyte-io/template-definitions'
# strategy:
# matrix:
# node-version: [14.x, 16.x]
#
# steps:
# - name: Checkout this repository
# uses: actions/checkout@v2
#
# - name: Checkout actions repository
# uses: actions/checkout@v2
# with:
# repository: Exabyte-io/actions
# token: ${{ secrets.BOT_GITHUB_TOKEN }}
# path: actions
#
# - name: Run JS tests
# uses: ./actions/js/test
# with:
# node-version: ${{ matrix.node-version }}
#
# publish-js-package:
# needs: [run-js-tests]
# runs-on: ubuntu-latest
# if: (github.repository != 'Exabyte-io/template-definitions') && (github.ref_name == 'main')
# outputs:
# release-version: ${{ steps.publish.outputs.tag-name }}
#
# steps:
# - name: Checkout this repository
# uses: actions/checkout@v2
#
# - name: Checkout actions repository
# uses: actions/checkout@v2
# with:
# repository: Exabyte-io/actions
# token: ${{ secrets.BOT_GITHUB_TOKEN }}
# path: actions
#
# - name: Publish JS release
# id: publish
# uses: ./actions/js/publish
# with:
# node-version: 12.21.x
# npm-token: ${{ secrets.NPM_TOKEN }}
# github-token: ${{ secrets.BOT_GITHUB_TOKEN }}
run-js-tests:
runs-on: ubuntu-latest
if: github.repository != 'Exabyte-io/template-definitions'
strategy:
matrix:
node-version: [14.x, 16.x]

steps:
- name: Checkout this repository
uses: actions/checkout@v2

- name: Checkout actions repository
uses: actions/checkout@v2
with:
repository: Exabyte-io/actions
token: ${{ secrets.BOT_GITHUB_TOKEN }}
path: actions

- name: Run JS tests
uses: ./actions/js/test
with:
node-version: ${{ matrix.node-version }}

publish-js-package:
needs: [run-js-tests]
runs-on: ubuntu-latest
if: (github.repository != 'Exabyte-io/template-definitions') && (github.ref_name == 'main')
outputs:
release-version: ${{ steps.publish.outputs.tag-name }}

steps:
- name: Checkout this repository
uses: actions/checkout@v2

- name: Checkout actions repository
uses: actions/checkout@v2
with:
repository: Exabyte-io/actions
token: ${{ secrets.BOT_GITHUB_TOKEN }}
path: actions

- name: Publish JS release
id: publish
uses: ./actions/js/publish
with:
node-version: 12.21.x
npm-token: ${{ secrets.NPM_TOKEN }}
github-token: ${{ secrets.BOT_GITHUB_TOKEN }}

create-pr-in-a-dependant:
needs: []
Expand Down

0 comments on commit af59763

Please sign in to comment.