Skip to content

fix: filters: clear search values when clear or clear all occurs (#5006) #2310

fix: filters: clear search values when clear or clear all occurs (#5006)

fix: filters: clear search values when clear or clear all occurs (#5006) #2310

Workflow file for this run

name: Release
on:
push:
branches:
- main
- '[0-9]+.x'
- '[0-9]+.[0-9]+.x'
jobs:
release:
name: Release
timeout-minutes: 5
runs-on: ubuntu-latest
outputs:
git-head: ${{steps.git.outputs.head}}
steps:
- uses: Brightspace/third-party-actions@actions/checkout
with:
persist-credentials: false
- uses: Brightspace/third-party-actions@actions/setup-node
with:
node-version-file: .nvmrc
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build
- name: Semantic Release
uses: BrightspaceUI/actions/semantic-release@main
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-session-token: ${{ secrets.AWS_SESSION_TOKEN }}
GITHUB_TOKEN: ${{ secrets.D2L_RELEASE_TOKEN }}
MINOR_RELEASE_WITH_LMS: true
NPM: true
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Get new git HEAD
id: git
run: echo "head=$(git rev-parse HEAD)" >> $GITHUB_OUTPUT
publish:
name: Publish static site
if: ${{ github.ref == 'refs/heads/main' }}
runs-on: ubuntu-latest
timeout-minutes: 10
needs: release
steps:
- uses: Brightspace/third-party-actions@actions/checkout
with:
ref: ${{needs.release.outputs.git-head}}
- uses: Brightspace/third-party-actions@actions/setup-node
with:
node-version-file: .nvmrc
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build
- name: Build static
run: npm run build-static
- name: Assume role
uses: Brightspace/third-party-actions@aws-actions/configure-aws-credentials
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-session-token: ${{ secrets.AWS_SESSION_TOKEN }}
role-to-assume: arn:aws:iam::022062736489:role/r+BrightspaceUI+core+repo
role-duration-seconds: 3600
aws-region: ca-central-1
- name: Publish
uses: BrightspaceUI/actions/publish-to-s3@main
with:
bucket-path: s3://d2l.dev/live/${{ github.repository }}
publish-directory: ./build/