fix: if the URL is invalid, display an error message and continue pro… #42
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: release | |
on: | |
push: | |
branches: | |
- main | |
- beta | |
tags-ignore: | |
- "**" | |
jobs: | |
release: | |
if: "! contains(github.event.head_commit.message, '[skip ci]') && ! contains(github.event.head_commit.message, '[ci skip]')" | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: asdf-vm/actions/install@v2 | |
- run: deno task build | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 16 | |
- uses: cycjimmy/semantic-release-action@v3 | |
with: | |
working_directory: npm | |
env: | |
GITHUB_TOKEN: ${{ github.token }} | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | |