Skip to content

Commit

Permalink
fix: add test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
hongaar committed Dec 13, 2022
1 parent 7bdfc5e commit 5ea4bfa
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 2 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: test

on:
pull_request:

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: lts/*
cache: yarn
- run: yarn install
- run: yarn build
- uses: ./
- run: |
find .github/workflows/ -type f | xargs tail -n +1
cat package.json
2 changes: 0 additions & 2 deletions .github/workflows/update-node-versions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ on:
push:
branches:
- main
pull_request:

jobs:
update-node-versions:
Expand All @@ -23,4 +22,3 @@ jobs:
- uses: peter-evans/create-pull-request@v4
with:
token: ${{ secrets.GH_PAT }}
base: main

0 comments on commit 5ea4bfa

Please sign in to comment.