Skip to content

chore(deps): bump fast-xml-parser and @aws-sdk/client-s3 (#340) #104

chore(deps): bump fast-xml-parser and @aws-sdk/client-s3 (#340)

chore(deps): bump fast-xml-parser and @aws-sdk/client-s3 (#340) #104

Workflow file for this run

name: 'Build'
on:
push:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
# The SWC build toolchain requires Node >= 16.14, so coverage runs on a
# modern LTS. Runtime compatibility across older Node is covered by the
# release workflow's test matrix against the prebuilt dist.
node-version: [20.x]
steps:
- name: Get branch name (merge)
if: github.event_name != 'pull_request'
shell: bash
run: echo "BRANCH_NAME=$(echo ${GITHUB_REF#refs/heads/} | tr / -)" >> $GITHUB_ENV
- name: Get branch name (pull request)
if: github.event_name == 'pull_request'
shell: bash
run: echo "BRANCH_NAME=$(echo ${GITHUB_HEAD_REF} | tr / -)" >> $GITHUB_ENV
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm ci --ignore-scripts
- run: npm run test-ci
env:
COVERALLS_SERVICE_NAME: GithubActions
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
COVERALLS_GIT_BRANCH: ${{ env.BRANCH_NAME }}