Skip to content

Commit

Permalink
Merge pull request #64 from erlang-ls/2-add-ci-pipeline
Browse files Browse the repository at this point in the history
[#2] Introduce CI pipeline
  • Loading branch information
robertoaloi authored Feb 1, 2021
2 parents 260aa26 + a3b9f9a commit d345860
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Build
push:
branches:
- '*'
pull_request:
types:
- opened
- synchronize
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Checkout submodules
run: git submodule update --init --recursive
- name: Install Node.js
uses: actions/setup-node@v1
with:
node-version: 14.x
- name: Setup Erlang/Elixir
uses: actions/setup-elixir@v1
with:
otp-version: 21.3
elixir-version: 1.11.3
- run: npm install
- run: npm run compile
- name: Package
run: vsce package
1 change: 1 addition & 0 deletions DEVELOPERS-README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ npm install -g typescript

```
git submodule update --init
rm -rf erlang_ls/_build
npm install
npm run compile
vsce package
Expand Down

0 comments on commit d345860

Please sign in to comment.