-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix(deps): update dependency guess-webpack to ^0.4.8 * feat: actions initial * chore(deps): bump esm from 3.0.84 to 3.2.25 (#23) Bumps [esm](https://github.com/standard-things/esm) from 3.0.84 to 3.2.25. - [Release notes](https://github.com/standard-things/esm/releases) - [Commits](standard-things/esm@3.0.84...3.2.25) Signed-off-by: dependabot[bot] <support@github.com> * fix: pipeline is not valid * lint fixes * workflow badge * fix: repo name * v.1.0.8 * action npm 2fa workaround * fix: could not find expected ':' * use token instead 2fa * publish on pkg github * cannot publish over the previously published versions * tmp disable publishing on gpr * workflow release
- Loading branch information
1 parent
e1f75ed
commit 856640d
Showing
2 changed files
with
55 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
name: Module Release | ||
|
||
on: [release] | ||
|
||
jobs: | ||
build: | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
os: [ubuntu-latest, windows-latest, macOS-latest] | ||
node-version: [12.x] | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Use Module ${{ matrix.node-version }} on ${{ matrix.os }} | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
- name: npm install and test | ||
run: | | ||
npm i | ||
npm test | ||
env: | ||
CI: true | ||
|
||
publish-npm: | ||
needs: build | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- uses: actions/setup-node@v1 | ||
with: | ||
node-version: 12 | ||
registry-url: https://registry.npmjs.org/ | ||
- run: | | ||
npm publish | ||
env: | ||
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} | ||
# publish-gpr: | ||
# needs: build | ||
# runs-on: ubuntu-latest | ||
# steps: | ||
# - uses: actions/checkout@v1 | ||
# - uses: actions/setup-node@v1 | ||
# with: | ||
# node-version: 12 | ||
# registry-url: https://npm.pkg.github.com/ | ||
# scope: '@daliborgogic' | ||
# - run: npm publish | ||
# env: | ||
# NODE_AUTH_TOKEN: ${{secrets.GH_TOKEN}} |