ci: fix artifact file name #6
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: main | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
container: | |
image: node:20 | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Cache local downloads | |
uses: actions/cache@v4 | |
with: | |
path: /github/home/.npm | |
key: ${{ runner.os }}-npm-packages | |
- name: Install buildtime dependencies | |
run: npm ci | |
- name: Lint | |
run: npx eslint | |
- name: Test | |
run: npm test | |
- name: Compile | |
run: npm run build | |
- name: Package | |
run: | | |
tar \ | |
-C ./build \ | |
-c \ | |
-f release.tar \ | |
. |