feat!: crayon 4.0 alpha #52
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deno | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: true | |
matrix: | |
# Test for latest stable and canary deno versions | |
deno-version: [vx.x.x, canary] | |
steps: | |
- name: Setup repo | |
uses: actions/checkout@v2 | |
- name: Setup Deno ${{ matrix.deno-version }} | |
uses: denoland/[email protected] | |
with: | |
deno-version: ${{ matrix.deno-version }} | |
- name: Check typings | |
run: deno check main.ts | |
- name: Check formatting | |
run: deno fmt --check | |
- name: Check linting | |
run: deno lint | |
- name: Run tests | |
run: deno task test | |
- name: Run dry publish | |
run: deno publish --dry-run | |
- name: Run benchmarks | |
run: deno task bench | |
- name: Prepare git credentials | |
run: | | |
git config user.name Github Actions | |
git config user.email [email protected] | |
- name: Check license headers & push commit when needed | |
run: | | |
deno run -A --no-check https://deno.land/x/[email protected]/src/cli.ts \ | |
-i ./ "/.+\.ts/" \ | |
-e "deps.ts" \ | |
-l "// Copyright 2024 Im-Beast. All rights reserved. MIT license." |