chore(deps): Bump nanoid from 3.3.6 to 3.3.8 (#1548) (#1549) #576
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Hackathon CI | |
on: | |
pull_request: | |
paths: | |
- package.json | |
- packages/wholly-artifact/** | |
- packages/hackathon/** | |
- .github/workflows/hackathon-ci.yml | |
- yarn.lock | |
push: | |
branches: | |
- main | |
paths: | |
- package.json | |
- packages/wholly-artifact/** | |
- packages/hackathon/** | |
- .github/workflows/hackathon-ci.yml | |
- yarn.lock | |
workflow_dispatch: | |
env: | |
TS_JUNIT_OUTPUT_DIR: results/hackathon | |
jobs: | |
unit: | |
name: Unit - ${{ matrix.os }} / Node ${{ matrix.node-version }} | |
env: | |
JEST_JUNIT_OUTPUT_DIR: results/hackathon | |
JEST_JUNIT_OUTPUT_NAME: ${{ matrix.os }}.apix${{ matrix.node-version }}.xml | |
runs-on: ${{ matrix.os }}-latest | |
strategy: | |
matrix: | |
os: | |
- ubuntu | |
node-version: [22.x] | |
steps: | |
- name: Cancel Previous Runs | |
uses: styfle/cancel-workflow-action@0.12.1 | |
with: | |
access_token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Repo Checkout | |
uses: actions/checkout@v4 | |
- name: Install Node ${{ matrix.node-version }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Install dependencies | |
run: | | |
yarn | |
- name: Lint | |
run: | | |
yarn lint:es --quiet | |
yarn lint:ts | |
- name: Build all | |
run: | | |
yarn build | |
yarn dedupe:ci | |
- name: Bundle hackathon | |
run: | | |
yarn bundle | |
working-directory: packages/hackathon |