Skip to content

fix: support multiple icons for assets [CORE-3097] (#60) #17

fix: support multiple icons for assets [CORE-3097] (#60)

fix: support multiple icons for assets [CORE-3097] (#60) #17

Workflow file for this run

name: Publish to Kapeta Public Repos
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Cache local Maven repository
uses: actions/cache@v2
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Set up JDK 19
uses: actions/setup-java@v2
with:
java-version: '19'
distribution: 'adopt'
- uses: actions/setup-node@v3
with:
node-version: 18
registry-url: https://registry.npmjs.org/
- id: 'auth'
uses: 'google-github-actions/auth@v1'
with:
credentials_json: '${{ secrets.GCP_ARTIFACTORY_SERVICE_ACCOUNT }}'
- name: 'Set up Cloud SDK'
uses: 'google-github-actions/setup-gcloud@v1'
with:
project_id: ${{ secrets.GCP_PROJECT_ID }}
- name: 'Install npm for main'
run: npm install
- name: 'Generate sources'
run: npm run generate
- name: 'Install npm for package'
run: npm install
working-directory: ./packages/npm
- run: npm publish --access public
working-directory: ./packages/npm
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}