Skip to content

Commit 079ac3a

Browse files
author
Ian Walter
committed
Fix gitignore
1 parent 276f009 commit 079ac3a

File tree

5 files changed

+83
-1
lines changed

5 files changed

+83
-1
lines changed

.github/FUNDING.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
github: ianwalter

.github/workflows/ci.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: CI
2+
on:
3+
push:
4+
branches:
5+
- main
6+
pull_request:
7+
jobs:
8+
build:
9+
runs-on: ubuntu-latest
10+
container:
11+
image: node:12.18
12+
timeout-minutes: 3
13+
steps:
14+
- name: Checkout
15+
uses: actions/checkout@v2
16+
- name: Install
17+
run: npm ci
18+
- name: Lint
19+
run: npm run lint

.github/workflows/commit.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: Commit
2+
on:
3+
workflow_dispatch:
4+
inputs:
5+
branch:
6+
description: The git branch you want to commit to.
7+
required: false
8+
files:
9+
description: The changed files you want included in the commit.
10+
required: false
11+
message:
12+
description: The commit message.
13+
required: false
14+
actor:
15+
description: Who to author the commit as.
16+
required: false
17+
token:
18+
description: The GitHub token to use to push the commit to GitHub.
19+
required: false
20+
jobs:
21+
commit:
22+
runs-on: ubuntu-latest
23+
timeout-minutes: 5
24+
env:
25+
DEBUG: true
26+
steps:
27+
- name: Checkout
28+
uses: actions/checkout@v2
29+
with:
30+
fetch-depth: 0
31+
persist-credentials: false
32+
- name: Make Change
33+
run: echo "Racks 2 Skinny" > commits/$(date +%s).txt
34+
- name: Commit Changes
35+
uses: ./
36+
with:
37+
token: ${{ secrets.GH_PAT }}

.github/workflows/release.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Release
2+
on:
3+
push:
4+
branches:
5+
- main
6+
jobs:
7+
release:
8+
runs-on: ubuntu-latest
9+
container:
10+
image: node:12.18-buster
11+
timeout-minutes: 10
12+
steps:
13+
- name: Checkout
14+
uses: actions/checkout@v2
15+
with:
16+
# This makes Actions fetch all Git history so that Changesets can
17+
# generate changelogs with the correct commits.
18+
fetch-depth: 0
19+
- name: Install
20+
run: npm i --dev
21+
- name: Changesets
22+
uses: changesets/action@master
23+
with:
24+
publish: npx changeset publish
25+
env:
26+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
.github
21
node_modules

0 commit comments

Comments
 (0)