From 91cdae87077abf29cce3d7891abca007432d54e5 Mon Sep 17 00:00:00 2001 From: JennieJi Date: Tue, 28 Mar 2023 09:51:16 +1100 Subject: [PATCH] Update actions --- .github/workflows/main.yml | 30 ------------------- .github/workflows/publish.yml | 6 ++-- .../workflows/scheduled-version-update.yml | 17 ----------- 3 files changed, 3 insertions(+), 50 deletions(-) delete mode 100644 .github/workflows/main.yml delete mode 100644 .github/workflows/scheduled-version-update.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml deleted file mode 100644 index fb3d6e0..0000000 --- a/.github/workflows/main.yml +++ /dev/null @@ -1,30 +0,0 @@ -name: CI - -on: - push: - branches: - - master - pull_request: - branches: - - master -jobs: - lint: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v1 - - uses: actions/setup-node@v1 - with: - node-version: 12 - - name: Install dependencies - run: yarn install --frozen-lockfile - - name: linting - run: yarn lint - # test: - # runs-on: ubuntu-latest - # needs: lint - # steps: - # - uses: actions/checkout@v1 - # - name: Install dependencies - # run: yarn install --frozen-lockfile - # - name: Test - # run: yarn test diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index ee5876d..8892193 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -11,14 +11,14 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-node@v1 with: - node-version: 12 + node-version: 16 - run: yarn install --frozen-lockfile - name: Publish to Open VSX Registry - uses: HaaLeo/publish-vscode-extension@v0 + uses: HaaLeo/publish-vscode-extension@v1 with: pat: ${{ secrets.OPEN_VSX_TOKEN }} - name: Publish to Visual Studio Marketplace - uses: HaaLeo/publish-vscode-extension@v0 + uses: HaaLeo/publish-vscode-extension@v1 with: pat: ${{ secrets.VS_MARKETPLACE_TOKEN }} registryUrl: https://marketplace.visualstudio.com diff --git a/.github/workflows/scheduled-version-update.yml b/.github/workflows/scheduled-version-update.yml deleted file mode 100644 index d379b58..0000000 --- a/.github/workflows/scheduled-version-update.yml +++ /dev/null @@ -1,17 +0,0 @@ -on: - schedule: - - cron: '0 13 15 * *' - -name: Scheduled update version -jobs: - deploy: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v1 - with: - node-version: 12 - - name: pump version - run: | - npm version patch - git push --follow-tags