add persist-credentials on CLI GithubActions #4
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: Release Insiders | |
on: | |
push: | |
branches: | |
- svelte-5 | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
# Step 1 : Check repository | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
# Step 2 : Config Node.js | |
- name: Setup Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '20' | |
# Step 3 : Install and build Mytril | |
- name: Install dependencies | |
run: npm install | |
lint: | |
runs-on: ubuntu-latest | |
needs: build | |
steps: | |
# Step 1 : Check repository | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
with: | |
persist-credentials: true | |
# Step 2 : Run linter | |
- name: Run linter | |
run: npm run lint |