From af41f1cea6c83e70619152586a281a79a8176c6b Mon Sep 17 00:00:00 2001 From: boomzero Date: Sun, 31 Dec 2023 19:28:32 +0800 Subject: [PATCH] fix the CI --- .github/workflows/npm-build.yml | 28 ---------------------------- .github/workflows/publish.yml | 5 +++++ 2 files changed, 5 insertions(+), 28 deletions(-) delete mode 100644 .github/workflows/npm-build.yml diff --git a/.github/workflows/npm-build.yml b/.github/workflows/npm-build.yml deleted file mode 100644 index ed47a0a..0000000 --- a/.github/workflows/npm-build.yml +++ /dev/null @@ -1,28 +0,0 @@ -name: build - -on: - push: - branches: [ "main" ] - pull_request: - branches: [ "main" ] - -jobs: - build: - runs-on: ubuntu-latest - - strategy: - matrix: - node-version: [18.x] - - steps: - - uses: actions/checkout@v3 - - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v3 - with: - node-version: ${{ matrix.node-version }} - - - name: Build - run: | - npm install - npm run build diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index e71469a..79cfbf9 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -11,6 +11,11 @@ jobs: steps: - uses: actions/checkout@v2 + - name: Setup Deno + # uses: denoland/setup-deno@v1 + uses: denoland/setup-deno@61fe2df320078202e33d7d5ad347e7dcfa0e8f31 # v1.1.2 + with: + deno-version: v1.x - name: Build run: | npm install