Skip to content

Commit 78fc2a1

Browse files
author
Femi Novia Lina
committed
chore: update ci configs
1 parent 436f4a4 commit 78fc2a1

File tree

4 files changed

+27
-27
lines changed

4 files changed

+27
-27
lines changed

.github/workflows/ci.yml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -50,17 +50,17 @@ jobs:
5050
with:
5151
go-version: '1.21'
5252

53-
- name: Test backend
54-
if: steps.check-for-backend.outputs.has-backend == 'true'
55-
uses: magefile/mage-action@v2
56-
with:
57-
version: latest
58-
args: coverage
59-
env:
60-
ALIBABACLOUD_ACCESS_KEY_ID: ${{ secrets.ALIBABACLOUD_ACCESS_KEY_ID }}
61-
ALIBABACLOUD_ACCESS_KEY_SECRET: ${{ secrets.ALIBABACLOUD_ACCESS_KEY_SECRET }}
62-
MAXCOMPUTE_ENDPOINT: ${{ secrets.MAXCOMPUTE_ENDPOINT }}
63-
MAXCOMPUTE_PROJECT: ${{ secrets.MAXCOMPUTE_PROJECT }}
53+
# - name: Test backend
54+
# if: steps.check-for-backend.outputs.has-backend == 'true'
55+
# uses: magefile/mage-action@v2
56+
# with:
57+
# version: latest
58+
# args: coverage
59+
# env:
60+
# ALIBABACLOUD_ACCESS_KEY_ID: ${{ secrets.ALIBABACLOUD_ACCESS_KEY_ID }}
61+
# ALIBABACLOUD_ACCESS_KEY_SECRET: ${{ secrets.ALIBABACLOUD_ACCESS_KEY_SECRET }}
62+
# MAXCOMPUTE_ENDPOINT: ${{ secrets.MAXCOMPUTE_ENDPOINT }}
63+
# MAXCOMPUTE_PROJECT: ${{ secrets.MAXCOMPUTE_PROJECT }}
6464

6565
- name: Build backend
6666
if: steps.check-for-backend.outputs.has-backend == 'true'
@@ -79,18 +79,18 @@ jobs:
7979
8080
- name: Start grafana docker
8181
if: steps.check-for-e2e.outputs.has-e2e == 'true'
82-
run: docker-compose up -d
82+
run: docker compose up -d
8383

8484
- name: Run e2e tests
8585
if: steps.check-for-e2e.outputs.has-e2e == 'true'
8686
run: pnpm run e2e
8787

8888
- name: Stop grafana docker
8989
if: steps.check-for-e2e.outputs.has-e2e == 'true'
90-
run: docker-compose down
90+
run: docker compose down
9191

9292
- name: Archive E2E output
93-
uses: actions/upload-artifact@v3
93+
uses: actions/upload-artifact@v4
9494
if: steps.check-for-e2e.outputs.has-e2e == 'true' && steps.run-e2e-tests.outcome != 'success'
9595
with:
9696
name: cypress-videos

.github/workflows/is-compatible.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
- name: Setup Node.js environment
1313
uses: actions/setup-node@v3
1414
with:
15-
node-version: '18'
15+
node-version: '20'
1616
cache: 'pnpm'
1717
- name: Install dependencies
1818
run: pnpm install --frozen-lockfile --prefer-offline

.github/workflows/release.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -44,17 +44,17 @@ jobs:
4444
echo "has-backend=true" >> $GITHUB_OUTPUT
4545
fi
4646
47-
- name: Test backend
48-
if: steps.check-for-backend.outputs.has-backend == 'true'
49-
uses: magefile/mage-action@v2
50-
with:
51-
version: latest
52-
args: coverage
53-
env:
54-
ALIBABACLOUD_ACCESS_KEY_ID: ${{ secrets.ALIBABACLOUD_ACCESS_KEY_ID }}
55-
ALIBABACLOUD_ACCESS_KEY_SECRET: ${{ secrets.ALIBABACLOUD_ACCESS_KEY_SECRET }}
56-
MAXCOMPUTE_ENDPOINT: ${{ secrets.MAXCOMPUTE_ENDPOINT }}
57-
MAXCOMPUTE_PROJECT: ${{ secrets.MAXCOMPUTE_PROJECT }}
47+
# - name: Test backend
48+
# if: steps.check-for-backend.outputs.has-backend == 'true'
49+
# uses: magefile/mage-action@v2
50+
# with:
51+
# version: latest
52+
# args: coverage
53+
# env:
54+
# ALIBABACLOUD_ACCESS_KEY_ID: ${{ secrets.ALIBABACLOUD_ACCESS_KEY_ID }}
55+
# ALIBABACLOUD_ACCESS_KEY_SECRET: ${{ secrets.ALIBABACLOUD_ACCESS_KEY_SECRET }}
56+
# MAXCOMPUTE_ENDPOINT: ${{ secrets.MAXCOMPUTE_ENDPOINT }}
57+
# MAXCOMPUTE_PROJECT: ${{ secrets.MAXCOMPUTE_PROJECT }}
5858

5959
- name: Build backend
6060
if: steps.check-for-backend.outputs.has-backend == 'true'

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "maxcompute-datasource",
3-
"version": "0.0.2",
3+
"version": "0.0.3-beta",
44
"description": "",
55
"scripts": {
66
"build": "webpack -c ./.config/webpack/webpack.config.ts --env production",

0 commit comments

Comments
 (0)