Skip to content

Commit

Permalink
v3.1.2 (#38)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tokimon authored Jul 2, 2021
1 parent 56e6603 commit a350a40
Show file tree
Hide file tree
Showing 7 changed files with 1,800 additions and 7,774 deletions.
42 changes: 21 additions & 21 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,45 +8,45 @@ on:
types: [created]

jobs:
build:
verify:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 16
- run: npm ci
- run: npm run lint
- run: npm test
- run: npm run build

publish-npm:
needs: build
needs: verify
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 16
registry-url: https://registry.npmjs.org/
- run: npm ci
- run: npm run build
- run: npm i
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

publish-gpr:
needs: build
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 16
registry-url: https://npm.pkg.github.com/
- run: npm ci
- run: npm run build
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
# publish-gpr:
# needs: verify
# runs-on: ubuntu-latest
# permissions:
# contents: read
# packages: write
# steps:
# - uses: actions/checkout@v2
# - uses: actions/setup-node@v2
# with:
# node-version: 16
# registry-url: https://npm.pkg.github.com/
# - run: npm i
# - run: npm publish
# env:
# NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Vanilla JS helpers

[![Build Status](https://github.com/Tokimon/vanillajs-helpers/actions/workflows/validation.yml/badge.svg)](https://travis-ci.org/Tokimon/vanillajs-helpers)
[![Build Status](https://github.com/Tokimon/vanillajs-helpers/actions/workflows/validation.yml/badge.svg)](https://github.com/Tokimon/vanillajs-helpers/actions/workflows/validation.yml)
[![Coverage](https://coveralls.io/repos/github/Tokimon/vanillajs-helpers/badge.svg?branch=master)](https://coveralls.io/github/Tokimon/vanillajs-helpers)
[![install size](https://packagephobia.now.sh/badge?p=vanillajs-helpers)](https://packagephobia.now.sh/result?p=vanillajs-helpers)

Expand Down
Loading

0 comments on commit a350a40

Please sign in to comment.