This repository was archived by the owner on Jan 9, 2023. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 9797 - name: Run tests
9898 run: |
9999 yarn test:ci
100- release:
101- name: Release
102- needs: [npm, yarn]
103- runs-on: ubuntu-18.04
104- steps:
105- - name: Checkout
106- uses: actions/checkout@v2
107- with:
108- token: ${{ github.token }}
109- - name: Setup Node.js
110- uses: actions/setup-node@v1
111- with:
112- node-version: 12
113- - name: Install with npm
114- run: |
115- npm install -q
116- - name: Build
117- run: |
118- npm run build
119- - name: Release
120- env:
121- GH_TOKEN: ${{ secrets.BOT_PAT }}
122- NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
123- run: npx semantic-release
Original file line number Diff line number Diff line change 1+ name: Release
2+ on:
3+ push:
4+ branches:
5+ - master
6+ jobs:
7+ release:
8+ name: Release
9+ runs-on: ubuntu-18.04
10+ steps:
11+ - name: Checkout
12+ uses: actions/checkout@v1
13+ - name: Setup Node.js
14+ uses: actions/setup-node@v1
15+ with:
16+ node-version: 12
17+ - name: Install dependencies
18+ run: npm ci
19+ - name: Build
20+ run: npm run build
21+ - name: Release
22+ env:
23+ GITHUB_TOKEN: ${{ secrets.BOT_PAT }}
24+ NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
25+ run: npx semantic-release
You can’t perform that action at this time.
0 commit comments