Skip to content

Commit

Permalink
Revert "wip release"
Browse files Browse the repository at this point in the history
This reverts commit 281a8b5.
  • Loading branch information
nunofgs committed Apr 24, 2024
1 parent 3e9f3cd commit 3085d45
Showing 1 changed file with 70 additions and 0 deletions.
70 changes: 70 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,79 @@ on:
- patch

jobs:
npm:
runs-on: ubuntu-latest

strategy:
matrix:
package:
- browser
- core
- node

steps:
- uses: actions/checkout@v3

- name: Setup node.js for NPM
uses: actions/setup-node@v3
with:
node-version: 14
cache: 'yarn'
registry-url: 'https://registry.npmjs.org'
scope: '@customerio'

- name: Install & Build
run: |
yarn install --frozen-lockfile
yarn build
- name: Publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
run: |
cd packages/${{ matrix.package }}
npm version ${{ github.event.inputs.version }}
npm publish
github:
runs-on: ubuntu-latest

strategy:
matrix:
package:
- browser
- core
- node

steps:
- uses: actions/checkout@v3

- name: Setup node.js for GitHub
uses: actions/setup-node@v3
with:
node-version: 14
cache: 'yarn'
registry-url: 'https://npm.pkg.github.com'
scope: '@customerio'

- name: Install & Build
run: |
yarn install --frozen-lockfile
yarn build
- name: Publish
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
cd packages/${{ matrix.package }}
npm version ${{ github.event.inputs.version }}
npm publish
commit:
runs-on: ubuntu-latest

needs: [npm, github]

steps:
- uses: actions/checkout@v3
with:
Expand Down

0 comments on commit 3085d45

Please sign in to comment.