Skip to content

Fix iOS build on new architecture (#19) #9

Fix iOS build on new architecture (#19)

Fix iOS build on new architecture (#19) #9

Workflow file for this run

name: Deployment
on:
push:
branches: [master]
jobs:
deployment:
name: Release new version
if: github.repository_owner == 'klarna-incubator'
runs-on: ubuntu-latest
environment: Deploy
permissions:
id-token: write
steps:
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: '20'
- name: Install dependencies
run: yarn --frozen-lockfile --non-interactive --silent --ignore-scripts
- name: Publish to NPM
id: publish
uses: JS-DevTools/npm-publish@v3
with:
token: ${{ secrets.NPM_PUBLISH_TOKEN }}
access: public
provenance: true
- name: Create release
if: steps.publish.outputs.type
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: v${{ steps.publish.outputs.version }}
release_name: ${{ steps.publish.outputs.version }}
body: ${{ steps.publish.outputs.version }}
draft: true
prerelease: false