Skip to content

Commit 35e6405

Browse files
committed
debug CI
1 parent b60022b commit 35e6405

File tree

1 file changed

+28
-23
lines changed

1 file changed

+28
-23
lines changed

.github/workflows/nodejs.yml

Lines changed: 28 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
runs-on: ${{ matrix.os }}
1414
strategy:
1515
matrix:
16-
os: [ubuntu-latest, macOS-latest, windows-latest]
16+
os: [ubuntu-latest]
1717
steps:
1818
- uses: actions/checkout@v1
1919
# # Move this action to just before the failing step to debug it.
@@ -39,20 +39,20 @@ jobs:
3939
node-version: '12.x'
4040
- name: Install
4141
run: yarn
42-
- name: Lint
43-
run: yarn lint
44-
- name: Start background server
45-
run: yarn sc start
42+
# - name: Lint
43+
# run: yarn lint
44+
# - name: Start background server
45+
# run: yarn sc start
4646
- name: Build
4747
run: yarn build
48-
- name: Test
49-
run: yarn test:once
50-
- name: E2E
51-
run: yarn e2e
48+
# - name: Test
49+
# run: yarn test:once
50+
# - name: E2E
51+
# run: yarn e2e
5252
- name: Archive Production Artifact
5353
# Only upload the Linux build.
5454
if: matrix.os == 'ubuntu-latest'
55-
uses: actions/upload-artifact@master
55+
uses: actions/upload-artifact@v2
5656
with:
5757
name: dist
5858
path: dist
@@ -64,22 +64,27 @@ jobs:
6464
steps:
6565
- uses: actions/checkout@v1
6666
- name: Download Artifact
67-
uses: actions/download-artifact@master
67+
uses: actions/download-artifact@v2
6868
with:
6969
name: dist
70+
- name: Display structure of downloaded files
71+
run: ls -R
72+
working-directory: dist
7073
- name: Semantic Release
7174
uses: cycjimmy/semantic-release-action@v2
7275
id: semantic
73-
env:
74-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
75-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
76-
# Test the release if one was made.
77-
# Would be nice to group these steps on the `if` conditional, but no way to do it yet.
78-
- name: Use Node.js 12.x
79-
if: steps.semantic.outputs.new_release_published == 'true'
80-
uses: actions/setup-node@v1
8176
with:
82-
node-version: '10.x'
83-
- name: Try to use release
84-
if: steps.semantic.outputs.new_release_published == 'true'
85-
run: yarn create cljs-app my-cljs-app
77+
dry_run: true
78+
# env:
79+
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
80+
# NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
81+
# # Test the release if one was made.
82+
# # Would be nice to group these steps on the `if` conditional, but no way to do it yet.
83+
# - name: Use Node.js 12.x
84+
# if: steps.semantic.outputs.new_release_published == 'true'
85+
# uses: actions/setup-node@v1
86+
# with:
87+
# node-version: '10.x'
88+
# - name: Try to use release
89+
# if: steps.semantic.outputs.new_release_published == 'true'
90+
# run: yarn create cljs-app my-cljs-app

0 commit comments

Comments
 (0)