@@ -31,25 +31,25 @@ jobs:
31
31
- run : yarn
32
32
- run : yarn test
33
33
- run : yarn lint
34
- # deploy:
35
- # name: Deploy
36
- # runs-on: ubuntu-latest
37
- # needs: build-and-test
38
- # steps:
39
- # - name: Find yarn cache
40
- # id: find-yarn-cache
41
- # run: echo "::set-output name=dir::$(yarn cache dir)"
42
- # - name: git checkout
43
- # uses: actions/checkout@v3
44
- # - name: Cache yarn dependencies
45
- # uses: actions/cache@v3
46
- # with:
47
- # path: ${{steps.find-yarn-cache.outputs.dir}}
48
- # key: ${{runner.os}}-node${{env.DEPLOY_NODE_VERSION}}-yarn-${{hashFiles('**/yarn.lock')}}
49
- # restore-keys: ${{runner.os}}-node${{env.DEPLOY_NODE_VERSION}}-yarn-
50
- # - name: Set up Node.js
51
- # uses: actions/setup-node@v3
52
- # with:
53
- # node-version: ${{env.DEPLOY_NODE_VERSION}}
54
- # - run: yarn
55
- # - run: yarn semantic-release
34
+ deploy :
35
+ name : Deploy
36
+ runs-on : ubuntu-latest
37
+ needs : build-and-test
38
+ steps :
39
+ - name : Find yarn cache
40
+ id : find-yarn-cache
41
+ run : echo "::set-output name=dir::$(yarn cache dir)"
42
+ - name : git checkout
43
+ uses : actions/checkout@v3
44
+ - name : Cache yarn dependencies
45
+ uses : actions/cache@v3
46
+ with :
47
+ path : ${{steps.find-yarn-cache.outputs.dir}}
48
+ key : ${{runner.os}}-node${{env.DEPLOY_NODE_VERSION}}-yarn-${{hashFiles('**/yarn.lock')}}
49
+ restore-keys : ${{runner.os}}-node${{env.DEPLOY_NODE_VERSION}}-yarn-
50
+ - name : Set up Node.js
51
+ uses : actions/setup-node@v3
52
+ with :
53
+ node-version : ${{env.DEPLOY_NODE_VERSION}}
54
+ - run : yarn
55
+ - run : yarn semantic-release
0 commit comments