Skip to content

Commit

Permalink
Merge pull request #5 from buraksakalli/feature/actions
Browse files Browse the repository at this point in the history
Feature/actions
  • Loading branch information
buraksakalli authored Oct 12, 2022
2 parents 148a08a + 4d81d62 commit 8ed4fe5
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 1 deletion.
22 changes: 22 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: 'πŸš€ release'

on:
release:
types: [published]

jobs:
release:
name: πŸš€ release
runs-on: ubuntu-latest
steps:
- name: πŸ“š checkout
uses: actions/[email protected]
- name: 🟒 node
uses: actions/[email protected]
with:
node-version: 14
registry-url: https://registry.npmjs.org
- name: πŸš€ publish
run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_AUTH_TOKEN}}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-native-multi-options",
"version": "0.1.1",
"version": "0.2.0",
"description": "A simple select component for React Native.",
"main": "lib/commonjs/index",
"module": "lib/module/index",
Expand Down

0 comments on commit 8ed4fe5

Please sign in to comment.