Skip to content

Commit

Permalink
Update CI.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
pkreissel committed Sep 18, 2023
1 parent b6adc34 commit f56d3f8
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions .github/workflows/CI.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
name: Fedialgo Build and Test

on:
push:
branches:
- main
pull_request:
branches:
- main
Expand All @@ -13,10 +10,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Set up Node.js
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: '18' # Or your preferred version

Expand All @@ -30,4 +27,12 @@ jobs:
run: npm run test
env:
MASTODON_URL: ${{ secrets.MASTODON_URL }}
MASTODON_TOKEN: ${{ secrets.MASTODON_TOKEN }}
MASTODON_TOKEN: ${{ secrets.MASTODON_TOKEN }}

- name: Commit Build
run:
git config --global user.name "pkreissel"
git config --global user.email "[email protected]"
git add .
git commit -m "Build ${{ github.event.head_commit.message }}"
git push

0 comments on commit f56d3f8

Please sign in to comment.