Skip to content

Commit

Permalink
Updated release pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
Zeryther committed Oct 21, 2022
1 parent 968f9bb commit 9ffbfcc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 15 deletions.
18 changes: 4 additions & 14 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,9 @@ on:
types: [created, edited]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: 16
- run: npm install
- run: npm run build

publish-npm:
needs: build
runs-on: macOS-latest
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
Expand All @@ -26,6 +16,6 @@ jobs:
registry-url: https://registry.npmjs.org/
- run: npm install
- run: npm run build
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
- uses: JS-DevTools/npm-publish@v1
with:
token: ${{ secrets.NPM_TOKEN }}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "country-to-aws-region",
"officialName": "country-to-aws-region",
"version": "1.0.1",
"version": "1.0.2",
"description": "JS library that helps get the closest AWS region from a country code",
"summary": "JS library that helps get the closest AWS region from a country code",
"main": "lib/index.js",
Expand Down

0 comments on commit 9ffbfcc

Please sign in to comment.