Skip to content
This repository was archived by the owner on Nov 8, 2024. It is now read-only.

Commit dd0da62

Browse files
authored
Merge pull request #62 from apiaryio/abtris/all-deps
Update dependencies and add automated release using GH actions
2 parents 44fef71 + d30fd7e commit dd0da62

File tree

3 files changed

+2554
-1672
lines changed

3 files changed

+2554
-1672
lines changed

.github/workflows/release.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
2+
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
3+
4+
name: semantic-release
5+
6+
on:
7+
push:
8+
branches:
9+
- master
10+
11+
jobs:
12+
build:
13+
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@v2
17+
- name: Use Node.js ${{ matrix.node-version }}
18+
uses: actions/setup-node@v1
19+
with:
20+
node-version: 14
21+
- run: npm ci
22+
- run: npm test
23+
- name: Release
24+
env:
25+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
26+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
27+
run: npm run semantic-release

0 commit comments

Comments
 (0)