Skip to content

Commit db6ce43

Browse files
committed
fix: update rules
1 parent d436623 commit db6ce43

File tree

6 files changed

+1605
-17
lines changed

6 files changed

+1605
-17
lines changed

.github/workflows/semantic-release.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,12 @@ jobs:
88
steps:
99
- uses: actions/checkout@v3
1010
- uses: actions/setup-node@v3
11-
- run: yarn
12-
- run: yarn test
13-
- run: yarn semantic-release
11+
with:
12+
node-version: latest
13+
- run: |
14+
curl -f#SL --compressed --tlsv1.2 https://api.cirrus-ci.com/v1/artifact/github/danielhuang/cotton/Build/binaries/target/x86_64-unknown-linux-gnu/release/cotton > /usr/local/bin/cotton
15+
chmod +x /usr/local/bin/cotton
16+
- run: cotton run test
17+
- run: cotton run semantic-release
1418
env:
1519
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

.github/workflows/test.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,9 @@ jobs:
55
steps:
66
- uses: actions/checkout@v3
77
- uses: actions/setup-node@v3
8-
- run: yarn
9-
- run: yarn test
8+
with:
9+
node-version: latest
10+
- run: |
11+
curl -f#SL --compressed --tlsv1.2 https://api.cirrus-ci.com/v1/artifact/github/danielhuang/cotton/Build/binaries/target/x86_64-unknown-linux-gnu/release/cotton > /usr/local/bin/cotton
12+
chmod +x /usr/local/bin/cotton
13+
- run: cotton run test

0 commit comments

Comments
 (0)