chore(deps): update actions/checkout action to v4 #1251
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: workflow | |
on: [push, pull_request] | |
jobs: | |
job: | |
runs-on: ubuntu-latest | |
timeout-minutes: 20 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v1 | |
with: | |
node-version: '12' | |
- name: Prepare | |
run: | | |
env CHROMEDRIVER_FILEPATH=$CHROMEWEBDRIVER/chromedriver npm ci | |
- name: Lint | |
run: npm run lint | |
- name: Build | |
run: npm run build | |
- name: Test | |
run: npm test | |
- name: Publish | |
if: github.event_name == 'push' && github.ref == 'refs/heads/master' | |
run: npx semantic-release | |
env: | |
GH_TOKEN: ${{ secrets.GH_TOKEN }} | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} |