Skip to content

Merge pull request #5 from yasharsanaei/update-ci #30

Merge pull request #5 from yasharsanaei/update-ci

Merge pull request #5 from yasharsanaei/update-ci #30

Workflow file for this run

name: Release
on:
push:
branches:
- master
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v1
with:
node-version: 18
- name: Install dependencies
run: npm ci
- name: Release
with:
node-version: 20
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npx semantic-release

Check failure on line 27 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: 27, Col: 9): Unexpected value 'run' .github/workflows/release.yml (Line: 21, Col: 9): Required property is missing: uses