Skip to content

Commit

Permalink
Updates to newest GitHub workflow (patch)
Browse files Browse the repository at this point in the history
  • Loading branch information
zrrrzzt committed Jan 16, 2020
1 parent 48853df commit 4234787
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 23 deletions.
22 changes: 0 additions & 22 deletions .github/main.workflow

This file was deleted.

20 changes: 20 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Build, Test, and Publish on release
on:
release:
types: [published]
branches: [master]
jobs:
build:
name: Build, test and publish
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: actions/setup-node@v1
with:
node-version: 12
registry-url: 'https://registry.npmjs.org'
- run: npm install
- run: npm test
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@alheimsins/webquality",
"description": "Test your site using Lighthouse and Observatory",
"description": "Test your site using Lighthouse and Security Headers",
"version": "1.0.5",
"license": "MIT",
"publishConfig": {
Expand Down

0 comments on commit 4234787

Please sign in to comment.