Merge pull request #51 from fahamutech/dependabot/npm_and_yarn/luxon-… #102
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: npm-publish-stable | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
npm-publish: | |
name: npm-publish-stable | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@master | |
- name: Set up Node.js | |
uses: actions/setup-node@master | |
with: | |
node-version: 16.x | |
- name: Create mongo Docker container | |
id: build_mongo_docker | |
uses: DigiPie/[email protected] | |
with: | |
image-version: latest | |
port: 27017 | |
- name: Publish if version has been updated | |
run: | | |
npm install -g yarn | |
yarn install | |
yarn build | |
npm publish | |
#npm install -g dns | |
#npm install -g ipfs | |
#jsipfs init | |
#jsipfs config --json Addresses.API '["/ip4/127.0.0.1/tcp/5001"]' | |
#jsipfs daemon & | |
#sleep 5s | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} |