From 6c5dbe4055588bc167e2b517237cff34fa6f88c2 Mon Sep 17 00:00:00 2001 From: Ed Date: Sun, 29 Sep 2019 12:30:24 +0200 Subject: [PATCH] ci(dry-run): run release in dry mode with debug --- .github/workflows/test-release.yml | 21 +++++++++++++++++++++ .gitignore | 14 ++------------ 2 files changed, 23 insertions(+), 12 deletions(-) create mode 100644 .github/workflows/test-release.yml diff --git a/.github/workflows/test-release.yml b/.github/workflows/test-release.yml new file mode 100644 index 0000000..5d34410 --- /dev/null +++ b/.github/workflows/test-release.yml @@ -0,0 +1,21 @@ +name: Test Release + +on: push + +jobs: + publish: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - uses: actions/setup-node@v1 + with: + node-version: 12 + - env: + CI: true + run: npm ci + - env: + CI: true + GH_TOKEN: ${{ secrets.GH_TOKEN }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + NPM_TOKEN: ${{ secrets.NPM_TOKEN }} + run: npx semantic-release --dry-run --debug diff --git a/.gitignore b/.gitignore index e4185cd..0b225dd 100644 --- a/.gitignore +++ b/.gitignore @@ -1,9 +1,5 @@ # Logs -logs -*.log npm-debug.log* -yarn-debug.log* -yarn-error.log* # Cache files .cache @@ -12,9 +8,6 @@ yarn-error.log* # Dependency directories node_modules -# Optional REPL history -.node_repl_history - # Output of 'npm pack' *.tgz @@ -24,8 +17,5 @@ node_modules # MacOS-specific files .DS_Store -# Build output -lib - -# Coverage output -coverage +# NPM files +.npmrc