Skip to content

Commit aec3649

Browse files
Vulnerabilities fixed (#9)
* vulnerabilities fixed * build fixed * lint fixed
1 parent f7b1a4f commit aec3649

File tree

5 files changed

+654
-454
lines changed

5 files changed

+654
-454
lines changed
File renamed without changes.

.github/workflows/publish.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)