Skip to content

ci: use github actions instead of travis #7

ci: use github actions instead of travis

ci: use github actions instead of travis #7

Workflow file for this run

on:
push:
branches: [ "next" ]
pull_request:
branches: [ "next" ]
env:
NODE_JS_VERSION: 12
jobs:
install-deps:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: ${{env.NODE_JS_VERSION}}
cache: 'yarn'
lint:
container: node:12
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: ${{env.NODE_JS_VERSION}}
cache: 'yarn'
needs: [install-deps]
build:
container: node:12
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: ${{env.NODE_JS_VERSION}}
cache: 'yarn'
- run: yarn build:lib
- run: yarn build:demo --base-href "/ngx-openlayers/" --progress false
needs: [install-deps]