Skip to content

Commit

Permalink
Merge pull request #51 from Pure-D/semantic-release
Browse files Browse the repository at this point in the history
  • Loading branch information
aminya authored Jun 2, 2021
2 parents 6cc671c + 580fe7c commit 79d83b3
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 5 deletions.
30 changes: 26 additions & 4 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,31 @@ jobs:
- name: Lint ✨
run: npm run test.lint

Skip:
if: contains(github.event.head_commit.message, '[skip ci]')
Release:
needs: [Test, Lint]
if: github.ref == 'refs/heads/master' &&
github.event.repository.fork == false
runs-on: ubuntu-latest
steps:
- name: Skip CI 🚫
run: echo skip ci
- uses: actions/checkout@v2
- uses: atom-community/action-setup-atom@v1
- uses: actions/setup-node@v2
with:
node-version: "12.x"

- name: NPM install
run: npm install

- name: Build and Commit
run: |
npm run get.servers
npm run build-commit
- name: Release 🎉
uses: cycjimmy/semantic-release-action@v2
with:
extends: |
@semantic-release/apm-config
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
ATOM_ACCESS_TOKEN: ${{ secrets.ATOM_ACCESS_TOKEN }}
3 changes: 2 additions & 1 deletion grammars/d.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"fileTypes": [
"d",
"di"
"di",
"dpp"
],
"name": "D",
"scopeName": "source.d",
Expand Down

0 comments on commit 79d83b3

Please sign in to comment.