Skip to content

[token-client] Make close_context_state_account and `close_record_a… #1

[token-client] Make close_context_state_account and `close_record_a…

[token-client] Make close_context_state_account and `close_record_a… #1

name: Pull Request JS
on:
pull_request:
paths:
- 'account-compression/sdk/**'
- 'libraries/type-length-value/js/**'
- 'memo/js/**'
- 'name-service/js/**'
- 'single-pool/js/**'
- 'stake-pool/js/**'
- 'token/js/**'
- 'token-group/js/**'
- 'token-lending/js/**'
- 'token-metadata/js/**'
- 'token-swap/js/**'
- 'pnpm-lock.yaml'
- '.github/workflows/pull-request-js.yml'
push:
branches: [master]
paths:
- 'account-compression/sdk/**'
- 'libraries/type-length-value/js/**'
- 'memo/js/**'
- 'single-pool/js/**'
- 'stake-pool/js/**'
- 'token/js/**'
- 'token-group/js/**'
- 'token-lending/js/**'
- 'token-metadata/js/**'
- 'token-swap/js/**'
- 'pnpm-lock.yaml'
- '.github/workflows/pull-request-js.yml'
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
js-test:
strategy:
matrix:
package:
[
account-compression,
libraries,
memo,
name-service,
single-pool,
stake-pool,
token,
token-group,
token-lending,
token-metadata,
token-swap,
]
runs-on: ubuntu-latest
env:
NODE_VERSION: 20.5
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ env.NODE_VERSION }}
uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}
- uses: pnpm/action-setup@v4
- uses: actions/cache@v4
with:
path: ~/.npm
key: node-${{ hashFiles('pnpm-lock.yaml') }}
restore-keys: |
node-
- run: ./ci/js-test-${{ matrix.package }}.sh