fix: broken package / import assertion #172
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: ci | |
on: | |
push: | |
branches: | |
- main | |
tags: | |
- "*" | |
pull_request: | |
branches: | |
- main | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
id-token: write | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: denoland/setup-deno@v1 | |
- name: Run fmt | |
run: | | |
deno fmt --check | |
- name: Run lint | |
run: | | |
deno lint | |
- name: Check project | |
run: | | |
deno task check:types | |
- name: Install Chromium | |
run: deno run -A --unstable https://deno.land/x/[email protected]/install.ts | |
env: | |
PUPPETEER_PRODUCT: chrome | |
- name: Run tests | |
run: | | |
deno task test | |
- name: Publish package (tag only) | |
if: startsWith(github.ref, 'refs/tags/') | |
run: deno publish |