Skip to content

Commit

Permalink
updated
Browse files Browse the repository at this point in the history
  • Loading branch information
AspieSoft committed Oct 26, 2023
1 parent d655c21 commit e60aca3
Show file tree
Hide file tree
Showing 4 changed files with 313 additions and 60 deletions.
30 changes: 17 additions & 13 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,27 +1,31 @@
name: Publish

on:
workflow_dispatch
release:
types: [published]
push:
branches:
- master

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 12
node-version: 16
- run: npm ci
- run: node test.js

publish-npm:
needs: test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 12
node-version: 16
registry-url: https://registry.npmjs.org/
scope: aspiesoft
- run: npm publish --access public
Expand All @@ -32,10 +36,10 @@ jobs:
needs: test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 12
node-version: 16
registry-url: https://npm.pkg.github.com/
scope: aspiesoft
- run: npm publish
Expand All @@ -48,10 +52,10 @@ jobs:
needs: test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 12
node-version: 16
registry-url: https://registry.npmjs.org/
- name: remove scope from package name
run: |
Expand Down
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
node_modules
.history
.vscode
.idea
.git
.svn
Loading

0 comments on commit e60aca3

Please sign in to comment.