Skip to content

update bun lock file to resolve build issues #1

update bun lock file to resolve build issues

update bun lock file to resolve build issues #1

Workflow file for this run

name: Release Beta
on:
push:
branches:
- beta
permissions:
id-token: write
jobs:
release-beta:
if: ${{ github.repository_owner == 'danstepanov' }}
name: Release Beta
runs-on: ubuntu-latest
outputs:
releaseId: ${{ steps.release-id.outputs.releaseId }

Check failure on line 16 in .github/workflows/beta-release.yaml

View workflow run for this annotation

GitHub Actions / Release Beta

Invalid workflow file

The workflow is not valid. .github/workflows/beta-release.yaml (Line: 16, Col: 18): The expression is not closed. An unescaped ${{ sequence was found, but the closing }} sequence was not found.
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup Bun
uses: oven-sh/setup-bun@v1
with:
version: latest
- name: Cache node_modules
id: cache-bun
uses: actions/cache@v3
env:
cache-name: cache-node-modules
with:
path: ~/.bun/install/cache
key: ${{ runner.os }}-build-${{ env.cache-name }}\
-${{ hashFiles('**/bun.lockb') }}
restore-keys: ${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: Install dependencies
run: bun install --frozen-lockfile
- name: Build create-expo-stack
run: bun run build:cli
## The change made to package.json here is ephemeral, as it will only run in CI
- name: Bump beta version
run: bun run ./scripts/canary-release.ts
## Unfortuneately, bun doesn't support publishing to NPM registry yet
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: latest
- name: Authenticate to npm and publish
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: |
bun run build:cli
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
cd ./cli
npm publish --provenance --access public --ignore-scripts --tag canary