ci: update workflow

This commit is contained in:
ammarahm-ed
2022-07-16 13:05:55 +05:00
parent 518575dacb
commit 19e2d59a04

View File

@@ -1,5 +1,9 @@
name: Android Release
permissions:
packages: read
contents: read
on: workflow_dispatch
jobs:
@@ -13,6 +17,15 @@ jobs:
with:
persist-credentials: false
- name: Setup npmrc
run: |
echo "registry=https://npm.pkg.github.com" > .npmrc
echo "@streetwriters:registry=https://npm.pkg.github.com" >> .npmrc
echo "//npm.pkg.github.com/:_authToken=${{secrets.PACKAGES_TOKEN}}" >> .npmrc
- name: Setup yarnrc
run: echo "\"@streetwriters:registry\" \"https://npm.pkg.github.com\"" > .yarnrc
- uses: actions/setup-node@master
with:
node-version: '16'