@@ -13,12 +13,12 @@ jobs:
1313 runs-on : ${{ matrix.os }}
1414 strategy :
1515 matrix :
16- os : [ubuntu-latest]
16+ os : [ubuntu-latest, macOS-latest, windows-latest ]
1717 steps :
1818 - uses : actions/checkout@v1
1919 # # Move this action to just before the failing step to debug it.
2020 # - name: Setup tmate session for remote debugging
21- # uses: mxschmitt/action-tmate@v1
21+ # uses: mxschmitt/action-tmate@v3
2222 - name : Cache node_modules
2323 uses : actions/cache@v1
2424 with :
@@ -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@v2
55+ uses : actions/upload-artifact@master
5656 with :
5757 name : dist
5858 path : dist
@@ -64,29 +64,20 @@ jobs:
6464 steps :
6565 - uses : actions/checkout@v1
6666 - name : Download Artifact
67- uses : actions/download-artifact@v2
68- with :
69- name : dist
70- - name : Setup tmate session for remote debugging
71- uses : mxschmitt/action-tmate@v3
72- - name : Display structure of downloaded files
73- run : ls -R
74- working-directory : dist
67+ uses : actions/download-artifact@master
7568 - name : Semantic Release
7669 uses : cycjimmy/semantic-release-action@v2
7770 id : semantic
71+ env :
72+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
73+ NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
74+ # Test the release if one was made.
75+ # Would be nice to group these steps on the `if` conditional, but no way to do it yet.
76+ - name : Use Node.js 12.x
77+ if : steps.semantic.outputs.new_release_published == 'true'
78+ uses : actions/setup-node@v1
7879 with :
79- dry_run : true
80- # env:
81- # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
82- # NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
83- # # Test the release if one was made.
84- # # Would be nice to group these steps on the `if` conditional, but no way to do it yet.
85- # - name: Use Node.js 12.x
86- # if: steps.semantic.outputs.new_release_published == 'true'
87- # uses: actions/setup-node@v1
88- # with:
89- # node-version: '10.x'
90- # - name: Try to use release
91- # if: steps.semantic.outputs.new_release_published == 'true'
92- # run: yarn create cljs-app my-cljs-app
80+ node-version : ' 10.x'
81+ - name : Try to use release
82+ if : steps.semantic.outputs.new_release_published == 'true'
83+ run : yarn create cljs-app my-cljs-app
0 commit comments