Do not run the npm publish action if package version was published #158
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: Verify | |
on: | |
push: | |
branches: main | |
pull_request: | |
branches: main | |
permissions: | |
contents: read | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout | |
uses: actions/checkout@v4 | |
- name: setup deno | |
uses: denoland/setup-deno@v2 | |
with: | |
deno-version: v2.x | |
- run: deno fmt --check | |
- run: deno lint | |
- run: deno test --allow-net --allow-read --allow-write |