We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eb4d371 commit 01484f2Copy full SHA for 01484f2
.github/workflows/workflow.yml
@@ -0,0 +1,27 @@
1
+name: Build and release on production
2
+on:
3
+ push:
4
+ branches:
5
+ - dev
6
+ - canary
7
+ - rc
8
+ - master
9
+
10
+jobs:
11
+ setup-build-publish-deploy:
12
+ name: Setup, Build, Publish, and Deploy
13
+ runs-on: ubuntu-latest
14
+ steps:
15
+ - name: Checkout
16
+ uses: actions/checkout@v2
17
+ - name: Extract branch name
18
+ shell: bash
19
+ run: echo "::set-env name=BRANCH_NAME::$(echo ${GITHUB_REF#refs/heads/} | sed 's/\//_/g')"
20
+ - name: Use Node.js ${{ matrix.node-version }}
21
+ uses: actions/setup-node@v1
22
+ with:
23
+ node-version: 14
24
+ - run: npm install
25
+ - run: npm run build
26
+ - run: npm run coveralls-after
27
+ - run: bash ".ci/publish_$BRANCH_NAME.sh"
0 commit comments