build(deps): Bump actions/checkout from 4.1.7 to 4.2.0 (#63) #5
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: π½ CI | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- "**.ts" | |
- deno.lock | |
- .github/workflows/ci.yml | |
pull_request: | |
paths: | |
- "**.ts" | |
- deno.lock | |
- .github/workflows/ci.yml | |
jobs: | |
lint: | |
name: π§Ή Lint | |
runs-on: Ubuntu-Latest | |
steps: | |
- name: π Checkout Repository | |
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 | |
- name: π¦ Setup Deno | |
uses: denoland/setup-deno@5e01c016a857a4dbb5afe9d0f9733cd472cba985 # v1.5.1 | |
with: | |
deno-version: v1.x | |
- name: π§Ή Lint Check | |
run: deno lint | |
- name: π Lint the JSDoc | |
run: deno doc --lint ./src | |
format: | |
name: π Format | |
runs-on: Ubuntu-Latest | |
steps: | |
- name: π Checkout Repository | |
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 | |
- name: π¦ Setup Deno | |
uses: denoland/setup-deno@5e01c016a857a4dbb5afe9d0f9733cd472cba985 # v1.5.1 | |
with: | |
deno-version: v1.x | |
- name: π Format Check | |
run: deno fmt --check | |
type-check: | |
name: π Type Check | |
runs-on: Ubuntu-Latest | |
steps: | |
- name: π Checkout Repository | |
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 | |
- name: π¦ Setup Deno | |
uses: denoland/setup-deno@5e01c016a857a4dbb5afe9d0f9733cd472cba985 # v1.5.1 | |
with: | |
deno-version: v1.x | |
- name: π Type Check | |
run: deno check ./src | |
test: | |
name: π§ͺ Test | |
runs-on: Ubuntu-Latest | |
steps: | |
- name: π Checkout Repository | |
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 | |
- name: π¦ Setup Deno | |
uses: denoland/setup-deno@5e01c016a857a4dbb5afe9d0f9733cd472cba985 # v1.5.1 | |
with: | |
deno-version: v1.x | |
- name: π§ͺ Run Tests | |
run: deno task cov | |
- name: βοΈ Upload Coverage | |
uses: codecov/codecov-action@e28ff129e5465c2c0dcc6f003fc735cb6ae0c673 # v4.5.0 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
dry-run-publish: | |
name: π¦ Dry Run Publish | |
runs-on: Ubuntu-Latest | |
steps: | |
- name: π Checkout Repository | |
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 | |
- name: π¦ Setup Deno | |
uses: denoland/setup-deno@5e01c016a857a4dbb5afe9d0f9733cd472cba985 # v1.5.1 | |
with: | |
deno-version: v1.x | |
- name: π¦ Dry Run Publish | |
run: deno publish --dry-run |