Revert "feat: added the staff" #12
Workflow file for this run
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: The CI workflow on push the feature branch | |
on: | |
push: | |
branches: | |
- '*' | |
- '!master' | |
permissions: | |
contents: read | |
jobs: | |
build: | |
defaults: | |
run: | |
shell: ${{ matrix.platform.shell }} | |
name: Build and tests | |
runs-on: ${{ matrix.platform.os }} | |
steps: | |
- name: Set git to use LF | |
run: | | |
git config --global core.autocrlf false | |
git config --global core.eol lf | |
- name: Stages the pushed branch | |
uses: actions/checkout@v4 | |
- name: Use the specified version of Node.js | |
uses: actions/setup-node@v4 | |
with: | |
cache: ${{ !env.ACT && 'npm' || '' }} | |
node-version-file: .node-version | |
- name: Resolve the dependencies | |
run: npm ci | |
- run: npm run build | |
- run: npm run bundle | |
- run: npm run export | |
- run: npm run lint | |
strategy: | |
matrix: | |
platform: | |
- os: ubuntu-latest | |
shell: bash | |
- os: windows-latest | |
shell: bash | |
- os: windows-latest | |
shell: powershell | |
fail-fast: false |