Skip to content

Merge pull request #8 from selemondev/refactor/use-abort-controller #3

Merge pull request #8 from selemondev/refactor/use-abort-controller

Merge pull request #8 from selemondev/refactor/use-abort-controller #3

Workflow file for this run

name: Release
on:
push:
tags:
- 'v*'
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set node
uses: actions/setup-node@v3
with:
node-version: [18.x, 20.x]

Check failure on line 19 in .github/workflows/release.yml

View workflow run for this annotation

GitHub Actions / Release

Invalid workflow file

The workflow is not valid. .github/workflows/release.yml (Line: 19, Col: 25): A sequence was not expected
cache: npm
- run: npx changelogithub
continue-on-error: true
env:
GITHUB_TOKEN: ${{secrets.GH_TOKEN}}
- name: Install
run: npm install
- name: Build
run: npm run build
- name: Config npm
run: echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > .npmrc
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Publish to npm
run: npm publish --access public --no-git-checks