From c9ef195013835ca6a45d1a2094ccc97ef646d519 Mon Sep 17 00:00:00 2001 From: Divlo Date: Sat, 19 Feb 2022 16:11:42 +0100 Subject: [PATCH] feat: first release --- .github/workflows/release.yml | 29 +++++++++++++++++++++++++++++ README.md | 1 - 2 files changed, 29 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..3c44600 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,29 @@ +name: 'Release' + +on: + push: + branches: [master] + +jobs: + release: + runs-on: 'ubuntu-latest' + steps: + - uses: 'actions/checkout@v2.4.0' + with: + fetch-depth: 0 + persist-credentials: false + + - name: 'Use Node.js' + uses: 'actions/setup-node@v2.5.1' + with: + node-version: 'lts/*' + cache: 'npm' + + - name: 'Install' + run: 'npm install' + + - name: 'Release' + run: 'npm run release' + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + NPM_TOKEN: ${{ secrets.NPM_TOKEN }} diff --git a/README.md b/README.md index fa2e0ed..5d6bd30 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,6 @@ Licence MIT Contributor Covenant
-