Skip to content

Commit

Permalink
update workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
BitPatty authored Jun 26, 2022
1 parent f118c0d commit e0d7282
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 2 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Build

on: push

jobs:
build:
if: github.repository_owner == 'bitpatty'
name: Build Project
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '16.13.1'
- run: npm install
- run: npm run build
- run: npm run test
4 changes: 2 additions & 2 deletions .github/workflows/publish-npm-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '16.6.1'
node-version: '16.13.1'
registry-url: 'https://npm.pkg.github.com'
scope: '@bitpatty'
- run: npm install
Expand All @@ -36,7 +36,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '16.6.1'
node-version: '16.13.1'
registry-url: 'https://registry.npmjs.org'
- run: npm install
- run: npm run build
Expand Down

0 comments on commit e0d7282

Please sign in to comment.