Skip to content

Replace Travis with GH Actions (#673) #1

Replace Travis with GH Actions (#673)

Replace Travis with GH Actions (#673) #1

Workflow file for this run

name: Deploy
on:
push:
tags: [ 'v*.*.*' ]
branches: master
jobs:
test:
uses: ./.github/workflows/test.yml
deploy:
needs: [test]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
registry-url: 'https://registry.npmjs.org'

Check failure on line 17 in .github/workflows/deploy.yml

View workflow run for this annotation

GitHub Actions / Deploy

Invalid workflow file

The workflow is not valid. .github/workflows/deploy.yml (Line: 17, Col: 7): Unexpected value 'registry-url'
with:
node-version: 16
- run: npm install
- run: npm run build
- run: npx semantic-release
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN_GITHUB }}