Skip to content

Commit

Permalink
COPS-3404
Browse files Browse the repository at this point in the history
  • Loading branch information
arturnetdev committed Jul 23, 2024
1 parent 88e3956 commit b59f619
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
name: Auto Build


on:
release:
types: [created]

#on:
# push:
# branches:
# - '**'
# release:
# types: [created]

on:
push:
branches:
- '**'

jobs:
build:
Expand Down Expand Up @@ -38,6 +38,9 @@ jobs:
- name: Run Tests
run: npm test

- name: Configure npm for publishing
run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc

- name: Publish to npm
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
Expand Down

0 comments on commit b59f619

Please sign in to comment.