mirror of
https://github.com/Dan6erbond/sk-auth.git
synced 2024-11-20 19:07:20 +01:00
👷 Create NPM publish workflow and set version to 0.1.0
This commit is contained in:
parent
591bfbbbc6
commit
dbe3394782
24
.github/workflows/npm-publish.yml
vendored
Normal file
24
.github/workflows/npm-publish.yml
vendored
Normal file
@ -0,0 +1,24 @@
|
||||
name: Deploy package to NPM and GitHub package repository
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
publish:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: 10
|
||||
- run: yarn install
|
||||
- run: yarn dev
|
||||
- uses: JS-DevTools/npm-publish@v1
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
registry: https://npm.pkg.github.com
|
||||
- uses: JS-DevTools/npm-publish@v1
|
||||
with:
|
||||
token: ${{ secrets.NPM_TOKEN }}
|
||||
access: public
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "svelte-kit-auth",
|
||||
"version": "1.0.0",
|
||||
"version": "0.1.0",
|
||||
"description": "Authentication library for use with SvelteKit featuring built-in OAuth providers and zero restriction customization!",
|
||||
"main": "dist/index.js",
|
||||
"types": "dist/index.d.ts",
|
||||
|
Loading…
Reference in New Issue
Block a user