Skip to content

Commit

Permalink
ci: use github actions instead of travis
Browse files Browse the repository at this point in the history
  • Loading branch information
Neonox31 committed Sep 28, 2023
1 parent 8b2058c commit ef4126f
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/angular.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
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:
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:
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]

0 comments on commit ef4126f

Please sign in to comment.