Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 9 additions & 8 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,25 +14,26 @@ jobs:
node: [22]
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
- uses: actions/setup-node@v1
- uses: actions/checkout@v4

- uses: actions/setup-node@v4
with:
# The Node.js version to configure
node-version: ${{ matrix.node }}

# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
- name: Setup Yarn
run: |
corepack enable
corepack prepare yarn@4.10.3 --activate

- name: Install needed libraries and packages
run: |
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
sudo sh -c 'echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list'
sudo apt-get update
sudo apt-get install -y google-chrome-stable

- name: Installing npm packages
run: |
yarn set version berry
yarn
run: yarn install --immutable

- name: Generating coverage and docs
run: |
Expand Down
9 changes: 6 additions & 3 deletions .github/workflows/publish-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,12 @@ jobs:
registry-url: 'https://registry.npmjs.org'
- name: Resolve tag
run: echo "RELEASE_TAG=${{ github.event.release.tag_name || inputs.tag }}" >> $GITHUB_ENV
- run: |
yarn set version berry
yarn
- name: Setup Yarn
run: |
corepack enable
corepack prepare yarn@4.10.3 --activate
- name: Install deps
run: yarn install --immutable
- if: ${{ startsWith(env.RELEASE_TAG, 'js-sdk-enums-v') }}
run: |
yarn enums:build
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,12 @@ jobs:
with:
node-version: 22
registry-url: https://registry.npmjs.org
- name: Install deps
- name: Setup Yarn
run: |
yarn set version berry
yarn
corepack enable
corepack prepare yarn@4.10.3 --activate
- name: Install deps
run: yarn install --immutable
- name: Build & publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
Expand Down
Loading