Skip to content

looks ready to test with live creds #1

looks ready to test with live creds

looks ready to test with live creds #1

Workflow file for this run

name: Test and Deploy
on: push
jobs:
run-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
registry-url: 'https://registry.npmjs.org'

Check failure on line 11 in .github/workflows/test-and-deploy.yml

View workflow run for this annotation

GitHub Actions / Test and Deploy

Invalid workflow file

The workflow is not valid. .github/workflows/test-and-deploy.yml (Line: 11, Col: 7): Unexpected value 'registry-url' .github/workflows/test-and-deploy.yml (Line: 24, Col: 7): Unexpected value 'registry-url'
with:
node-version: 16
- run: npm install
- run: npm run build
- run: npm test
deploy:
needs: [run-tests]
runs-on: ubuntu-latest
if: ${{ github.ref_name == 'master' }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
registry-url: 'https://registry.npmjs.org'
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.GITHUB_TOKEN }}