Skip to content

fix workflow name

fix workflow name #11

Workflow file for this run

name: 'CI: Deno'
on:
push:
paths:
- '.github/**'
- 'tests/**'
- 'types/**'
- 'index.ts'
- 'package.json'
- 'pnpm-lock.yaml'
pull_request:
paths:
- '.github/**'
- 'tests/**'
- 'types/**'
- 'index.ts'
- 'package.json'
- 'pnpm-lock.yaml'
workflow_dispatch:
jobs:
default:
runs-on: ubuntu-latest
strategy:
fail-fast: false
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
with:
fetch-depth: 10
- uses: denoland/setup-deno@041b854f97b325bd60e53e9dc2de9cb9f9ac0cba # v1.1.4
with:
deno-version: v1.x
- name: Enable Corepack
run: corepack enable
- name: Get pnpm store directory
id: pnpm-cache
run: |
echo "::set-output name=pnpm_store_path::$(pnpm store path)"
- uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 # v4.0.0
name: Setup pnpm cache
with:
path: ${{ steps.pnpm-cache.outputs.pnpm_store_path }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: Install dependencies
run: pnpm install --frozen-lockfile --strict-peer-dependencies
- name: Lint Source
run: deno lint --rules-exclude=no-explicit-any --ignore=node_modules **/*.ts
- name: Try Publish
run: deno publish --dry-run