Skip to content

Commit af59763

Browse files
committed
chore: uncomment github workflow
1 parent 955e327 commit af59763

File tree

1 file changed

+48
-48
lines changed

1 file changed

+48
-48
lines changed

.github/workflows/cicd.yml

+48-48
Original file line numberDiff line numberDiff line change
@@ -11,54 +11,54 @@ concurrency:
1111

1212
jobs:
1313

14-
# run-js-tests:
15-
# runs-on: ubuntu-latest
16-
# if: github.repository != 'Exabyte-io/template-definitions'
17-
# strategy:
18-
# matrix:
19-
# node-version: [14.x, 16.x]
20-
#
21-
# steps:
22-
# - name: Checkout this repository
23-
# uses: actions/checkout@v2
24-
#
25-
# - name: Checkout actions repository
26-
# uses: actions/checkout@v2
27-
# with:
28-
# repository: Exabyte-io/actions
29-
# token: ${{ secrets.BOT_GITHUB_TOKEN }}
30-
# path: actions
31-
#
32-
# - name: Run JS tests
33-
# uses: ./actions/js/test
34-
# with:
35-
# node-version: ${{ matrix.node-version }}
36-
#
37-
# publish-js-package:
38-
# needs: [run-js-tests]
39-
# runs-on: ubuntu-latest
40-
# if: (github.repository != 'Exabyte-io/template-definitions') && (github.ref_name == 'main')
41-
# outputs:
42-
# release-version: ${{ steps.publish.outputs.tag-name }}
43-
#
44-
# steps:
45-
# - name: Checkout this repository
46-
# uses: actions/checkout@v2
47-
#
48-
# - name: Checkout actions repository
49-
# uses: actions/checkout@v2
50-
# with:
51-
# repository: Exabyte-io/actions
52-
# token: ${{ secrets.BOT_GITHUB_TOKEN }}
53-
# path: actions
54-
#
55-
# - name: Publish JS release
56-
# id: publish
57-
# uses: ./actions/js/publish
58-
# with:
59-
# node-version: 12.21.x
60-
# npm-token: ${{ secrets.NPM_TOKEN }}
61-
# github-token: ${{ secrets.BOT_GITHUB_TOKEN }}
14+
run-js-tests:
15+
runs-on: ubuntu-latest
16+
if: github.repository != 'Exabyte-io/template-definitions'
17+
strategy:
18+
matrix:
19+
node-version: [14.x, 16.x]
20+
21+
steps:
22+
- name: Checkout this repository
23+
uses: actions/checkout@v2
24+
25+
- name: Checkout actions repository
26+
uses: actions/checkout@v2
27+
with:
28+
repository: Exabyte-io/actions
29+
token: ${{ secrets.BOT_GITHUB_TOKEN }}
30+
path: actions
31+
32+
- name: Run JS tests
33+
uses: ./actions/js/test
34+
with:
35+
node-version: ${{ matrix.node-version }}
36+
37+
publish-js-package:
38+
needs: [run-js-tests]
39+
runs-on: ubuntu-latest
40+
if: (github.repository != 'Exabyte-io/template-definitions') && (github.ref_name == 'main')
41+
outputs:
42+
release-version: ${{ steps.publish.outputs.tag-name }}
43+
44+
steps:
45+
- name: Checkout this repository
46+
uses: actions/checkout@v2
47+
48+
- name: Checkout actions repository
49+
uses: actions/checkout@v2
50+
with:
51+
repository: Exabyte-io/actions
52+
token: ${{ secrets.BOT_GITHUB_TOKEN }}
53+
path: actions
54+
55+
- name: Publish JS release
56+
id: publish
57+
uses: ./actions/js/publish
58+
with:
59+
node-version: 12.21.x
60+
npm-token: ${{ secrets.NPM_TOKEN }}
61+
github-token: ${{ secrets.BOT_GITHUB_TOKEN }}
6262

6363
create-pr-in-a-dependant:
6464
needs: []

0 commit comments

Comments
 (0)