Skip to content

fix(actions-pinned): pin GitHub Actions to commit SHA #1109

fix(actions-pinned): pin GitHub Actions to commit SHA

fix(actions-pinned): pin GitHub Actions to commit SHA #1109

Workflow file for this run

name: ci
on:
push:
branches: [main, beta, alpha]
pull_request:
jobs:
lint_test:
name: Lint and Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6
- uses: actions/setup-node@249970729cb0ef3589644e2896645e5dc5ba9c38 # v6
with:
node-version: lts/*
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "path=$(yarn cache dir)" >> $GITHUB_OUTPUT
- uses: actions/cache@caa296126883cff596d87d8935842f9db880ef25 # v5
with:
path: ${{ steps.yarn-cache-dir-path.outputs.path }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Run install
run: yarn install --frozen-lockfile
- name: Run lint
run: yarn lint
- name: Run test
run: yarn test