Skip to content

Commit

Permalink
Convert indentation from tabs to spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
BadIdeaException committed Jan 7, 2024
1 parent 7eaf714 commit 4957182
Showing 1 changed file with 25 additions and 25 deletions.
50 changes: 25 additions & 25 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,31 +4,31 @@
name: Publish to npm

on:
release:
# Unlike in the original at the above link, only publish stable releases to npm, not prereleases & drafts
types: [released]
release:
# Unlike in the original at the above link, only publish stable releases to npm, not prereleases & drafts
types: [released]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 20
- run: npm clean-install
- run: npm test
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 20
- run: npm clean-install
- run: npm test

publish-npm:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 20
registry-url: https://registry.npmjs.org/
- run: npm clean-install
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
publish-npm:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 20
registry-url: https://registry.npmjs.org/
- run: npm clean-install
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}

0 comments on commit 4957182

Please sign in to comment.