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 97f87fd
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions .github/workflows/angular.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
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: $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: $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: $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 97f87fd

Please sign in to comment.