Skip to content

fix(ci): switch back to upstream swift-actions/setup-swift (generated) #752

fix(ci): switch back to upstream swift-actions/setup-swift (generated)

fix(ci): switch back to upstream swift-actions/setup-swift (generated) #752

Workflow file for this run

name: Release packages
on:
push:
branches:
- main
permissions:
id-token: write # Required for OIDC
contents: read
jobs:
release:
name: Publish
runs-on: ubuntu-22.04
if: "startsWith(github.event.head_commit.message, 'chore: release')"
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
fetch-depth: 0
- name: Install Node
uses: actions/setup-node@249970729cb0ef3589644e2896645e5dc5ba9c38 # v6.5.0
with:
node-version-file: .nvmrc
cache: yarn
- name: Install JavaScript dependencies
shell: bash
run: yarn install
- name: Build clients
shell: bash
run: yarn build
- name: Publish to NPM
shell: bash
run: yarn release:publish
env:
NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}