Skip to content

ci: use github actions instead of travis #2

ci: use github actions instead of travis

ci: use github actions instead of travis #2

Workflow file for this run

on:
push:
tags:
- '*'
jobs:
workflow:
uses: ./.github/workflows/angular.yml
release-on-npm:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-node@v3
with:
node-version: ${{env.NODE_JS_VERSION}}
cache: 'yarn'
registry-url: 'https://registry.npmjs.org'
- run: cp projects/ngx-openlayers/CHANGELOG.md dist/ngx-openlayers/CHANGELOG.md
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
needs:
- build

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

View workflow run for this annotation

GitHub Actions / .github/workflows/release.yml

Invalid workflow file

The workflow is not valid. .github/workflows/release.yml (Line: 22, Col: 9): Job 'release-on-npm' depends on unknown job 'build'.