Skip to content

refactor: prepare migration to forge #24

refactor: prepare migration to forge

refactor: prepare migration to forge #24

Workflow file for this run

name: release
permissions:
contents: write
on:
push:
tags:
- "*"
pull_request:
# test purposes
# TODO: remove
branches: [forge-dev]
jobs:
npm:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: yarn
registry-url: "https://registry.npmjs.org"
- name: Authentication
run: |
echo npmAuthToken: "$NODE_AUTH_TOKEN" >> ./.yarnrc.yml
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Install dependencies
run: yarn
- name: Publish packages
run: yarn workspaces foreach -A --no-private npm publish --tolerate-republish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- run: yarn changelogithub
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
forge:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
ref: ${{ github.event.pull_request.head.sha }}

Check failure on line 53 in .github/workflows/release.yml

View workflow run for this annotation

GitHub Actions / release

Invalid workflow file

The workflow is not valid. .github/workflows/release.yml (Line: 53, Col: 15): Unexpected value 'ref'
- uses: fregante/setup-git-user@v2.0.1
- name: Push contracts to dedicated branches
run: scripts/publish-for-forge.sh