Skip to content

Update

Update #621

Workflow file for this run

name: Continuous Integration
on:
push:
branches:
- "**"
- "!main"
tags-ignore:
- "*.*"
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
id-token: write
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Enable Corepack
run: corepack enable
- uses: actions/setup-node@v4
with:
node-version-file: ".nvmrc"
cache: "yarn"
cache-dependency-path: "yarn.lock"
- name: Install dependencies
run: yarn --immutable
- name: Build
run: yarn build:all
- name: Add npmToken to .yarnrc.yml
run: |
cat << EOF > "./.yarnrc.yml"
npmAuthToken: "$NPM_TOKEN"
npmAlwaysAuth: true
EOF
# run: |
# echo npmAuthToken: "$NPM_TOKEN" >> ./.yarnrc.yml
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Check .yarnrc contents
run: |
ls -al
cat .yarnrc.yml
- name: Alpha release
run: node release-tools/pre-release.js
# run: |
# node release-tools/release.js --commit-message="${{ github.event.head_commit.message }}"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}