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 f7b1a4f commit aec3649Copy full SHA for aec3649
.github/workflows/ci.yaml renamed to .github/workflows/ci.yml
.github/workflows/publish.yml
@@ -0,0 +1,30 @@
1
+name: NPM publish
2
+on: workflow_dispatch
3
+
4
+jobs:
5
+ publish:
6
+ runs-on: ubuntu-latest
7
+ steps:
8
+ - name: Checkout sources
9
+ uses: actions/checkout@v2
10
+ - name: Use Node.js 14
11
+ uses: actions/setup-node@v2
12
+ with:
13
+ node-version: 14
14
+ - name: Install dependencies
15
+ run: npm i
16
+ - name: Create .env file
17
+ run: |
18
+ touch .env
19
+ echo TRELLO_API_KEY=${{ secrets.TRELLO_API_KEY }} >> .env
20
+ echo TRELLO_API_TOKEN=${{ secrets.TRELLO_API_TOKEN }} >> .env
21
+ - name: Building sources
22
+ run: npm run build
23
+ - name: Tests
24
+ run: npm run test
25
+ - name: Linting
26
+ run: npm run lint
27
+ env:
28
+ CI: true
29
+ - name: Publishing
30
+ run: npm publish
0 commit comments