Merge pull request #35 from powersync-ja/changeset-release/main #161
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Ensures packages build correctly | |
name: Build Packages | |
on: | |
push: | |
jobs: | |
build: | |
name: Build Packages | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
persist-credentials: false | |
- name: Setup NodeJS | |
uses: actions/setup-node@v2 | |
with: | |
node-version: 18 | |
cache: 'yarn' | |
- name: Setup Yarn | |
run: | | |
npm install -g yarn | |
echo "Yarn version: $(yarn -v)" | |
echo "//registry.npmjs.org/:_authToken=${{secrets.NPM_TOKEN}}" >> ~/.npmrc | |
- name: Install Dependencies | |
run: yarn install --frozen-lockfile | |
- name: Build | |
run: yarn build:packages |