Skip to content

Commit

Permalink
chore: add github workflows config.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Apr 26, 2021
1 parent 47bebfb commit eda1f25
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Build oscnews
on:
push:
branches:
- master

jobs:

build:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@master

- name: Setup Node
uses: actions/setup-node@v1
with:
node-version: 12
registry-url: https://registry.npmjs.org/

- name: Look Changelog
uses: jaywcjlove/changelog-generator@v1.3.9
with:
token: ${{ secrets.GITHUB_TOKEN }}
filter-author: (jaywcjlove|小弟调调™|dependabot\[bot\]|Renovate Bot)
filter: '[R|r]elease[d]\s+[v|V]\d(\.\d+){0,2}'


- run: npm install --unsafe-perm
- run: npm run build

0 comments on commit eda1f25

Please sign in to comment.