Skip to content
This repository was archived by the owner on Sep 8, 2025. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 35 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: github-writer
on: [push]

jobs:
build:
name: Building Github-Writer
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Set Node.js 16.x
uses: actions/setup-node@v3
with:
node-version: 16.x

- name: Run install
uses: borales/actions-yarn@v4
with:
cmd: install # will run `yarn install` command
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} # if needed
- name: Build github-writer
uses: borales/actions-yarn@v4
with:
cmd: build # will run `yarn build` command

- name: Build dev github-writer
uses: borales/actions-yarn@v4
with:
cmd: build-dev # will run `yarn build-dev` command

- name: Running Lint
uses: borales/actions-yarn@v4
with:
cmd: lint # will run `yarn build-dev` command
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,4 @@
/build/
/coverage/
/.yalc/
/tests/config.json
/*.lock
9 changes: 9 additions & 0 deletions tests/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"github" : {
"repo": "username/reponame",
"credentials": {
"name": "username",
"password": "password"
}
}
}