-
Notifications
You must be signed in to change notification settings - Fork 3
35 lines (29 loc) · 991 Bytes
/
dev-packages.yaml
File metadata and controls
35 lines (29 loc) · 991 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Action to publish packages under the `next` tag for testing
# Packages are versioned as `0.0.0-{tag}-DATETIMESTAMP`
name: Packages Deploy
on: workflow_dispatch
jobs:
publish:
name: Publish Dev Packages
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- name: Setup NodeJS
uses: actions/setup-node@v4
with:
node-version: 18
- name: Setup Yarn
run: |
npm install -g yarn
echo "Yarn version: $(yarn -v)"
echo "//registry.npmjs.org/:_authToken=${{secrets.NPM_TOKEN}}" >> ~/.npmrc
# This also builds the package as part of the post install
- name: Install Dependencies
run: yarn install --frozen-lockfile
- name: Development Version
run: |
node ./scripts/dev-package-pre-version.js
yarn changeset version --no-git-tag --snapshot dev
yarn changeset publish --tag dev