From 85fac8dea43b9c29e0bce69d0b62950384880446 Mon Sep 17 00:00:00 2001 From: neverRare Date: Wed, 24 Jan 2024 15:28:30 +0800 Subject: [PATCH] update deno.yml --- .github/workflows/deno.yml | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/.github/workflows/deno.yml b/.github/workflows/deno.yml index 168c933..ef1c32c 100644 --- a/.github/workflows/deno.yml +++ b/.github/workflows/deno.yml @@ -1,34 +1,34 @@ -# This workflow uses actions that are not certified by GitHub. -# They are provided by a third-party and are governed by -# separate terms of service, privacy policy, and support -# documentation. +# This is a basic workflow to help you get started with Actions -# This workflow will install Deno then run `deno lint` and `deno test`. -# For more information see: https://github.com/denoland/setup-deno - -name: Deno +name: CI +# Controls when the workflow will run on: push: - branches: ["release"] + branches: [ "release" ] pull_request: - branches: ["release"] + branches: [ "release" ] -permissions: - contents: read + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: +# A workflow run is made up of one or more jobs that can run sequentially or in parallel jobs: - test: + # This workflow contains a single job called "build" + build: + # The type of runner that the job will run on runs-on: ubuntu-latest + # Steps represent a sequence of tasks that will be executed as part of the job steps: - - name: Setup repo - uses: actions/checkout@v3 + # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it + - uses: actions/checkout@v3 - name: Setup Deno uses: denoland/setup-deno@v1 with: deno-version: v1.x - - name: Build + # Runs a single command using the runners shell + - name: Run a one-line script run: deno task build