Skip to content

Commit

Permalink
fix: added CI
Browse files Browse the repository at this point in the history
  • Loading branch information
SLRBot committed Jul 7, 2022
1 parent da5f1e1 commit bd35369
Show file tree
Hide file tree
Showing 6 changed files with 43 additions and 6 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Release

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: 14.x
- name: Install dependencies
run: npm install -g semantic-release @semantic-release/github @semantic-release/changelog @semantic-release/git
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: semantic-release -e @semantic-release/github
13 changes: 13 additions & 0 deletions .releaserc
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
["@semantic-release/changelog", {
"changelogFile": "CHANGELOG.md"
}],
"@semantic-release/github",
["@semantic-release/git", {
"assets": ["CHANGELOG.md"]
}]
]
}
5 changes: 0 additions & 5 deletions .semver

This file was deleted.

2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ php:
- hhvm
- 7.1
- 7.2
- 7.4
- 8.0

dist: trusty

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
}
],
"require": {
"php": ">=7.2",
"php": "^7.2 || ^8.0 || ^8.1",
"symfony/framework-bundle": "^4.4|^5.0|^6.0",
"mobiledetect/mobiledetectlib": "^2.8",
"twig/twig": "2.*|3.*"
Expand Down
4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"name": "netbull-mobile-detect-bundle",
"version": "1.0.0"
}

0 comments on commit bd35369

Please sign in to comment.